Skip to content
lsl.devlsl.devLSL Dev

LIST_STAT_NUM_COUNT

constant
Constant
integer LIST_STAT_NUM_COUNT = 8;

Option used with llListStatistics to determine the count of float and integer elements in the list.

Constant groups

ListStatisticsOperation

Other ListStatisticsOperation values (9)

Retrieves the number of float and integer elements.

Example 1
list mixedList = [5, 35.3, <1,2,3>, "42", "Hello"];
float num = llListStatistics( LIST_STAT_NUM_COUNT, mixedList );
//num == 2.0
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.