TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-107
_LONGEST Function
_LONGEST Function
Use the _LONGEST function to obtain the length of the longest element in a list of
elements.
list
is a list of elements separated by spaces, or a variable level containing such a
list.
Result
_LONGEST returns the length of the longest element supplied in its argument.
Example
This example illustrates the use of _LONGEST to determine the length of the longest
item in a variable level:
12> PUSH do
13> SET VARIABLE do GO RUN EXECUTE
14> #OUTPUT [_LONGEST [do] ]
7
_LONGEST list