Difference between revisions of "LIST STAT NUM COUNT"
Jump to navigation
Jump to search
(Add example) |
m |
||
Line 7: | Line 7: | ||
|text= | |text= | ||
|pb= | |pb= | ||
|examples=<lsl> | |examples=<lsl>list mixedList = [5, 35.3, <1,2,3>, "42", "Hello"]; | ||
float num = llListStatistics( LIST_STAT_NUM_COUNT, mixedList ); | float num = llListStatistics( LIST_STAT_NUM_COUNT, mixedList ); | ||
</lsl> | //num == 2.0</lsl> | ||
|constants= | |constants= | ||
<!--{{LSL ConstRow|CHANGED_SHAPE}}--> | <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |
Revision as of 20:07, 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>