How to Reference a List
To reference elements in a list, follow the same rules as you would to reference elements of any 1D array:
variable_name(subscript_list)
where variable_name is a variable that contains a list, and subscript_list is a list of expressions, constants, or subscript ranges containing the values of one or more subscripts.
Nested lists are subscripted like multi-dimensional arrays:
variable_name(subscript, subscript, ...)
note | If the elements of nested lists are of type structure or associative array, they follow the same rules for referencing structures or associative arrays. |
Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.