OpenWGA 7.6 - TMLScript reference
Object:
List
Description |
A list represents a dynamic amount of single values that have a defined order and are accessible via index numbers. Lists have a dynamic size. Elements can be added, inserted and deleted from the list. Their functionality is mostly equal to JavaScript arrays. They are effectively the TMLScript representation of the Java interface java.util.List. The index numbers of lists are zero based. The first element of the list has index number 0. Lists are used at most places in TMLScript where some kind of multiple value field is concerned.. They can contain any value or object, even values and objects of mixed size, although this is not recommended. Everywhere in TMLScript and WGAPI where a List argument is needed a native JavaScript array may be used instead. Lists can be used to create JavaScript iterators by passing them as argument to the Iterator() function. |
||||||||||||||||||||||||||||||||||||
Retrieval |
Diverse methods in TMLScript, but especially: WGA.createList() this.itemList() this.metaList() |
||||||||||||||||||||||||||||||||||||
Allowed in script types |
|
||||||||||||||||||||||||||||||||||||
Properties and methods |
|