Hashes

associative arrays (the same as hashes in Perl) to create a hash, use create_array() function you can use the following function with hashes: get_array_id(), rename_array(), delete_array() The following additional functions are defined:

success set_hash_long(long id, string idx, long value); success set_hash_string(long id, string idx, string value); long get_hash_long(long id, string idx); string get_hash_string(long id, string idx); success del_hash_string(long id, string idx); string get_first_hash_key(long id); string get_next_hash_key(long id, string idx); string get_last_hash_key(long id); string get_prev_hash_key(long id, string idx);

Last updated