Difference between revisions of "List"
Jump to navigation
Jump to search
(reverted to some of the info in the old wiki entry) |
Rob Linden (talk | contribs) m (Reverted edits by Esteth Eponym (Talk); changed back to last version by Quirico Finney) |
||
Line 2: | Line 2: | ||
[[Category: LSL Types]] | [[Category: LSL Types]] | ||
[[Category: LSL List]] | [[Category: LSL List]] | ||
A list is a special kind of data type which can contain zero or more elements of any other data type. | |||
Lists are signified by square brackets surrounding their elements, which are separated by commas. | |||
List examples: | |||
<pre>[0,1,2,3,4], ["Yes","No","Perhaps"], [1,14.154,"Isn't this fun?",<0,0,0>]</pre> | |||
<pre> | |||
Revision as of 23:23, 20 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
A list is a special kind of data type which can contain zero or more elements of any other data type. Lists are signified by square brackets surrounding their elements, which are separated by commas.
List examples:
[0,1,2,3,4], ["Yes","No","Perhaps"], [1,14.154,"Isn't this fun?",<0,0,0>]