Difference between revisions of "LIST STAT SUM"

From Second Life Wiki
Jump to: navigation, search
(New page: {{LSL Constant |name=LIST_STAT_SUM |type=integer |value=6 |desc= |pa= |text= |pb= |examples |constants= <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |functions= {{LSL DefineRow||[[llListStatistic...)
 
m (<lsl> tag to <source>)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|type=integer
 
|type=integer
 
|value=6
 
|value=6
|desc=
+
|desc=Calculates the sum of the numbers in a list.
|pa=
+
|pa
|text=
+
|pb
|pb=
+
|examples=
|examples
+
<source lang="lsl2">
 +
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

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

float sum = llListStatistics( LIST_STAT_SUM, numList );

Deep Notes

Search JIRA for related Issues

Signature

integer LIST_STAT_SUM = 6;