User Tools

Site Tools


en:lists

This is an old revision of the document!


Lists of Values (Arrays)

A list is either a one dimensional set of values separated by commas and enclosed in braces { }, or a list of lists containing two dimensions of data. You may use lists in many statements that are expecting arrays and can be used to create arrays without the dim statement.

The Explode and Explodex functions also return a list that may be used wherever lists are allowed.

Example

words = {"how","now","brown","cow"}
for n = 0 to words[?]-1
 print words[n]
next n

sound {{200,200},{400,300},{200,200}}

History

1.99.99.55Added two dimensional lists
2.0.0.0Clarified Difference between List of Values (Array) and Map List - Keys and Values
en/lists.1587961055.txt.gz · Last modified: 2020/04/26 22:17 by admin