<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Calculate the total number of elements in a value.
syntax
GetValueTotalElement(
val
)
Parameters
Type:
General purpose
value.
Return Value
Number
The total number of elements in the value.
Explanation
Calculates the total number of elements in a value. If the dimension is other than one, calculates the total number of elements.
Example
Total number of elements: 1
a = 1;
Total number of elements: 3
a = c(1,2,3);
Total number of elements: 6
a = c(c(1,2,3), c(4,5,6));
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
Revar
GetValueDimension
GetValueElement
GetValueTotalElement