TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-52
#CHARDEL Built-In Function
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 the following, including one internal end-
of-line character after each line:
ABCDEFG
HIJKLMNOPQRST
UVWXYZ
1. Either of the invocations:
#CHARDEL var 7 TO 9 or #CHARDEL var 7 FOR 3
causes var to contain:
ABCDEFIJKLMNOPQRST
UVWXYZ
2. Either of the invocations:
#CHARDEL var 7 TO 100 or #CHARDEL var 7 FOR 94
causes var to contain:
ABCDEF