countarray( variable )
|variable||rvalue||variable to count|
Set to a numeric value that is the number of array elements.
Sets _result to the number of array elements in variable. Only the first level array elements of variable are included. Any arrays that exist on array or property elements below variable are not included. In the example below, the first call to msgbox will display 2 while the second will display 1. This is because there are two array elements on var (these are var and var) and one array element on var (this is var).
For more information see the user variables topic.
cleararray, setarraycount, clearprops, hasprop, countprops, getpropname, assignment (=), copy, initialize, clear, isequal, user variables