Difference between revisions of "List"
Jump to navigation
Jump to search
(add list of functions working with lists) |
(substituied list of functions by List category) |
||
Line 1: | Line 1: | ||
{{LSL Header}} | {{LSL Header}} | ||
[[Category: LSL Types]] | [[Category: LSL Types]] | ||
[[Category: LSL List]] | |||
A list is a special kind of data type which can contain zero or more elements of any other data type. | 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. | Lists are signified by square brackets surrounding their elements, which are separated by commas. | ||
Line 6: | Line 7: | ||
List examples: | List examples: | ||
<pre>[0,1,2,3,4], ["Yes","No","Perhaps"], [1,14.154,"Isn't this fun?",<0,0,0>]</pre> | <pre>[0,1,2,3,4], ["Yes","No","Perhaps"], [1,14.154,"Isn't this fun?",<0,0,0>]</pre> | ||
Revision as of 05:44, 17 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>]