fieldCount (Array)
fieldCount ( array -- count )
Returns the number of entries in an array.
fieldCount ( range -- count )
Returns the number of entries in a range.
Arguments
fieldCount ( array -- count )
The
array
to count entries in.
fieldCount ( range -- count )
range
is an ArrayRange to count entries in.
Return values
size
is the number of entries, integer.
Complexity
Constant
Example
Output:
6
6