Cold Help System: Programming: ColdC Reference Manual: Language Structure: Data Types: List


A list is an ordered grouping of data. The data contained within a list can be of any type, and does not have to be the same type througout the list. Lists are useful for grouping different data elements together. A list is logically true if it contains one or more elements, and is logically false if it is empty. A list is constructed by enclosing a comma-separated series of data elements within square brackets. For example both of the following are both valid lists:

[1, 2, 3]
[1, ["foo", 'bar], $sys]

See Also: List Functions


Integer | Float | String | Symbol | List | Object Number | Dictionary | Error Codes | Frob | Buffer


the Cold Dark