TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-64
#CHARGETV Built-In Function
Any part of the specified copy that lies beyond the end of var-1 is ignored.
Each logical line contains an end-of-line character that counts as one byte. For
variables that contain TACL statements, each metacharacter uses the number of
visible characters plus one, including unprintable characters that are subject to
change from one TACL RVU to another. Nonmetacharacters use one byte.
Examples
Assume that var is a variable level containing:
ABCDEFG
HIJKLMNOPQRST
UVWXYZ
1. Either of the invocations:
#CHARGETV var var2 2 TO 4 or #CHARGETV var var2 2 FOR 3
set var2 to:
BCD
2. The invocation:
#CHARGETV var var2 3 FOR 10
sets var2 to:
CDEFG
HIJK