4 LOOKUP <assoc> TO <array> SIZE <variable>
8 Retrieves all indexnames created in an associative array. The results
9 are stored in <array>. As it sometimes is unknown how many elements this
10 resulting array will contain, the array should not be declared
11 explicitly. Instead, LOOKUP will declare the result array dynamically.
13 If LOOKUP is being used in a function or sub, then <array> will have a
14 local scope. Else <array> will be visible globally, and can be accessed
15 within all functions and subs.
17 The total amount of elements created in this array is stored in
18 <variable>. This variable can be declared explicitly using LOCAL or
21 LOOKUP mortal TO men$ SIZE amount
22 FOR x = 0 TO amount - 1