SYNOPSIS<count $var>
DESCRIPTION
The count
function counts the number of values a variable has.
Note that in version 8 syntax - i.e. when the syntaxversion
pragma (here) is 8 or more - a variable's
number of values may also be obtained with $#var
(here).
DIAGNOSTICScount
returns the (integer) number of values the $var
variable has.
EXAMPLE<$x = this is a test>
<count $x>
$ret values.
The output would be:
4 values.
CAVEATS
The count
function was added Aug. 29 1996.