ElementsOfArray |
Type | operator |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | the elements of <Target>
|
Associations | com.livecode.array |
Summary | Returns the elements of an array.
|
Parameters | Name | Type | Description |
---|
Target | | An expression which evaluates to an array.
|
|
Example | variable tArray as Array
put the empty array into tArray
put 1 into tArray["key1"]
put 2 into tArray["key2"]
put 3 into tArray["key3"]
variable tElements as List
put the elements of tArray into tElements
sort tElements in ascending numeric order
|
Values | Name | Type | Description |
---|
return | | A list whose elements are the elements of Target.
|
|
Related | Library: com.livecode.sort
|
Description | Note: The resulting list is not necessarily ordered in any way. Use the com.livecode.sort library to sort the elements.
|
Tags | arrays |