TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-117
#DELTA Built-In Function
#DELTA commands can be grouped into four categories:
Text manipulation
Variable control
File manipulation
#DELTA control
Many commands in #DELTA can be modified by the command flags. The command
flags are the at sign (@) and the colon (:). The meaning and use of the command flags
varies from command to command.
Text Manipulation Commands
Text manipulation commands work with the text in the buffer, finding, inserting,
deleting, altering, and displaying the text, and moving the pointer to pinpoint where its
actions are to occur. Table 9-6
summarizes the syntax and effect of the text
manipulation commands. Full descriptions follow Table 9-9
on page 9-121.
J Jumps pointer to absolute character position
K Deletes (Kill) lines of text
L Moves pointer over X Lines
M Invokes a variable level as a Macro
P Puts a range of text into the output file
Q Loads numeric variable level into X register
S Searches for a string in text
T Types out text
U Unloads X register into a variable level
V Views text, including pointer position
X EXtracts range of text into a variable level
Y Reads (Yank) lines from input file
Z Gets buffer size
Table 9-6. Text Manipulation Commands (page1of3)
Command Description Effect on Buffer Effect on X, Y, and Pointer (P)
xC Moves characters - P = P + x
x:C Moves characters
with return code
- If successful, X=-1 and P=P+X;
if not, X=0
xD Deletes characters x chars deleted -
Table 9-5. Summary of #DELTA Commands (page 2 of 2)
Command Description