Returns an associative array of all of the keys of the given array data. The key values will be indexed in consecutive integers counting up from 1 in the order that the indexes were added to the array with the resolution operator "->". Retrieving the keys in this manner makes it possible to loop through the entries of the array until such time as a foreach loop is designed :)
Example:
@keys = %arrayGetKeys( @myValues )
@index = 0 while( @keys->(@index += 1) !== null ) { echoto room all \ Key: %( @keys->@index ) \ Val: %( @myValues->(@keys->@index) ) } endwhile |