Difference between revisions of "LIST STAT RANGE"

From Second Life Wiki
Jump to: navigation, 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 15:40, 10 April 2008

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)

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>

Deep Notes

Search JIRA for related Issues

Signature

integer LIST_STAT_RANGE = 0;