TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-250
VFIND Command
range
specifies the line or lines in which the search is to be made. If you omit it, TACL
searches all lines. A range specification can be any of these:
A
line-num
line-num / line-num
A
specifies all lines in the variable level.
line-num
specifies an individual line number. It can be any of these:
F
L
number
F
specifies the first line in the variable level.
L
specifies the last line in the variable level.
number
is a positive integer identifying a specific line.
Considerations
•
VFIND is not case-sensitive. If, for example, you specify
VFIND var "The"
VFIND locates the first occurrence of The, the, THE, or any other combination of
uppercase or lowercase T, H, and E. For case-sensitive operations, you can use
the string-handling functions.
•
If string contains TACL metacharacters, the setting of the #INFORMAT built-in
variable (for input to the IN file, including input to an interactive TACL process) or
the ?FORMAT Directive on page 5-6 (for text in TACL prog the #INFORMAT Built-
In Variable on page 9-197 or the ?FORMAT directive.