sep_get_val_by_index - get key value by index
ierr=sep_get_val_by_index(tag_history,record_number,key_index,n_values,values)
tag of History File
Header Record Number computed using sep_get_subspace_pointers
Key Index of Header Key
Number of Values to be written in contiguos records.
Header Values of type Key Type
-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
Get header values by given key index
return=sep_get_header_bytes(char *tag_history, int *n_bytes) i_byte=(record_number-1)*n_bytes+(key_index-1)*n_bytes_value sseek into the Header Format File at position i_byte sreed2 from Header Format File into values
sep3d