Difference between revisions of "List"
Jump to navigation
Jump to search
m (category added) |
|||
Line 1: | Line 1: | ||
{{LSL Header}} | |||
[[Category: LSL Types]] | |||
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. | ||
List examples: | List examples: | ||
<pre> | <pre>[0,1,2,3,4], ["Yes","No","Perhaps"], [1,14.154,"Isn't this fun?",<0,0,0>]</pre> | ||
[0,1,2,3,4], ["Yes","No","Perhaps"], [1,14.154,"Isn't this fun?",<0,0,0>]</pre> |
Revision as of 04:19, 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>]