Difference between revisions of "LIST STAT SUM"

From Second Life Wiki
Jump to: navigation, search
m
Line 4: Line 4:
 
|value=6
 
|value=6
 
|desc=Calculates the sum of the numbers in a list.
 
|desc=Calculates the sum of the numbers in a list.
|pa=
+
|pa
|text=
+
|pb
|pb=
+
|examples=
|examples
+
<lsl>
 +
float sum = llListStatistics( LIST_STAT_SUM, numList );
 +
</lsl>
 
|constants=
 
|constants=
 
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->
 
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->

Revision as of 15:36, 10 April 2008

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.

Related Articles

Functions

•  llListStatistics

Examples

<lsl> float sum = llListStatistics( LIST_STAT_SUM, numList ); </lsl>

Deep Notes

Search JIRA for related Issues

Signature

integer LIST_STAT_SUM = 6;