TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-226
#LINECOUNT Built-In unction
#LINECOUNT Built-In unction
Use #LINECOUNT to obtain the number of lines in a variable level.
variable-level
is the name of an existing variable level whose lines are to be counted. It must not
be a DIRECTORY, a STRUCT, or a STRUCT item.
Result
#LINECOUNT returns the number of lines in the variable level.
Example
Assume that var is a variable level containing:
ABCDEFG
HIJKLMNOPQRST
UVWXYZ
The invocation:
#LINECOUNT var
returns 3.
#LINECOUNT variable-level