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 )
for( @i = 1; @i <= %arrayGetSize( @keys ); @i += 1 ) { %echo( "Key: " @keys->@i ) } endfor |