sep_get_key_index - get the index of a key
int sep_get_key_index(tag_history,key_name,key_index)
tag of History File
Key Name of Header Key
Key Index of Header Key
-1= if fails for other reasons
0= if successful
+1= if tag_history is an Sep77 History File
+2= if tag_history is a Sep3d History File but no matching Key Name is in Header Format File
auxpar from the Header Format File for the parameter hdrindex"#" for a given key_name
sep3d