count - return number of variable values

 

SYNOPSIS

<count $var>


DESCRIPTION
The count function counts the number of values a variable has.


DIAGNOSTICS
count 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.


Copyright © Thunderstone Software     Last updated: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.