We changed from index to idx in the code, but not in the comments.
Simon --- key.c.old Tue Jan 8 08:00:00 2002 +++ key.c Tue Jan 8 17:52:36 2002 @@ -217,7 +217,7 @@ /*=for api key key_element_type -return the type of element <index> of KEY <key> +return the type of element <idx> of KEY <key> =cut */ @@ -240,7 +240,7 @@ /*=for api key key_element_value_i -return the value of index <index> of KEY <key> +return the value of index <idx> of KEY <key> =cut */ @@ -289,7 +289,7 @@ /*=for api key key_set_element_value_i -Set the value of index <index> of key <key> to integer <value> +Set the value of index <idx> of key <key> to integer <value> =cut */ @@ -312,7 +312,7 @@ /*=for api key key_set_element_value_s -Set the value of index <index> of key <key> to string <value> +Set the value of index <idx> of key <key> to string <value> =cut */ @@ -386,7 +386,7 @@ /*=for api key key_inc -Increment the type of index <index> of key <key> +Increment the type of index <idx> of key <key> =cut */