sep_extract_val_by_index - extract a header value by its index
Extract n-values of Header Values associated with Key Index from vector of Header Values with mixed Header Types.
sep_extract_val_by_index(tag_history,key_index,n_values,values,all_values)
tag of History File
Key Index of Header Key
Number of Values to be written in contiguos records.
Vector of Header Values with mixed Header Types
Header Values at for Key Index
-1= if fails for other reasons
0 =if successful
+1 =if tag_history is a Sep77 History File
+2= if tag_history is a Sep3d History File but no matching Key Index is in Header Format File
sep3d