Product SiteDocumentation Site

5.3.15.3. []


     +-,---------+
     V           |
>>-[---+-------+-+-]-------------------------------------------><
       +-index-+

Returns the item associated with the specified indexes. Each index is an expression; use commas to separate the expressions. The Stem object concatenates the index string values, separating them with a period (.), to create a derived index. A null string ("") is used for any omitted expressions. The resulting string is the index of the target stem item. If the stem has no item associated with the specified final index, the stem default value is returned. If a default value has not been set, the stem name concatenated with the final index string is returned.
If you do not specify index, the stem default value is returned. If no default value has been assigned, the stem name is returned.

Note

You cannot use the [] method in a DROP or PROCEDURE instruction.