Difference between revisions of "LIST STAT NUM COUNT"
Jump to navigation
Jump to search
m |
m |
||
Line 10: | Line 10: | ||
float num = llListStatistics( LIST_STAT_NUM_COUNT, mixedList ); | float num = llListStatistics( LIST_STAT_NUM_COUNT, mixedList ); | ||
//num == 2.0</lsl> | //num == 2.0</lsl> | ||
|constants | |constants | ||
|functions= | |functions= | ||
{{LSL DefineRow||[[llListStatistics]]|}} | {{LSL DefineRow||[[llListStatistics]]|}} | ||
|events | |events | ||
|location | |location | ||
|cat1 | |cat1 |
Revision as of 20:08, 15 May 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer LIST_STAT_NUM_COUNT = 8;The integer constant LIST_STAT_NUM_COUNT has the value 8
Retrieves the number of float and integer elements.
Caveats
Related Articles
Functions
• | llListStatistics |
Examples
<lsl>list mixedList = [5, 35.3, <1,2,3>, "42", "Hello"]; float num = llListStatistics( LIST_STAT_NUM_COUNT, mixedList ); //num == 2.0</lsl>