Difference between revisions of "LIST STAT SUM"
Jump to navigation
Jump to search
m (<lsl> tag to <source>) |
|||
Line 7: | Line 7: | ||
|pb | |pb | ||
|examples= | |examples= | ||
< | <source lang="lsl2"> | ||
float sum = llListStatistics( LIST_STAT_SUM, numList ); | float sum = llListStatistics( LIST_STAT_SUM, numList ); | ||
</ | </source> | ||
|constants= | |constants= | ||
<!--{{LSL ConstRow|CHANGED_SHAPE}}--> | <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |
Latest revision as of 16:00, 23 January 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer LIST_STAT_SUM = 6;The integer constant LIST_STAT_SUM has the value 6
Calculates the sum of the numbers in a list.
Caveats
Related Articles
Functions
• | llListStatistics |
Examples
float sum = llListStatistics( LIST_STAT_SUM, numList );