Difference between revisions of "LIST STAT RANGE"
Jump to navigation
Jump to search
m |
m |
||
Line 7: | Line 7: | ||
|text= | |text= | ||
|pb= | |pb= | ||
|examples | |examples=<lsl>float range = llListStatistics( LIST_STAT_RANGE, numList );</lsl> | ||
<lsl>float max = llListStatistics( LIST_STAT_MAX, numList ); | |||
float min = llListStatistics( LIST_STAT_MIN, numList ); | |||
float range = max - min;</lsl> | |||
|constants= | |constants= | ||
<!--{{LSL ConstRow|CHANGED_SHAPE}}--> | <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |
Revision as of 14:40, 10 April 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer LIST_STAT_RANGE = 0;The integer constant LIST_STAT_RANGE has the value 0
Calculates the range of the list. (max - min)
Caveats
Related Articles
Functions
• | llListStatistics |
Examples
<lsl>float range = llListStatistics( LIST_STAT_RANGE, numList );</lsl>
<lsl>float max = llListStatistics( LIST_STAT_MAX, numList ); float min = llListStatistics( LIST_STAT_MIN, numList ); float range = max - min;</lsl>