The table below lists the supported Proc commands.
Command | Description |
---|---|
a | Move data argument from input buffer to output buffer. |
b | Back up input pointer. |
bo | Back up output pointer. |
c | Comment. |
d | Display an input buffer to the terminal. |
f | Move the input pointer forward. |
go | Go to a label. |
h | Move text string to an output buffer. |
if | Conditional statement. |
ih | Move a text string to an input buffer. |
ip | Inputs from the terminal to an input buffer. |
is | Inputs from the terminal to the primary input buffer. |
it | Inputs from tape to the primary input buffer. |
o | Output a text string to the terminal. |
p | Executes a command in the primary output buffer. |
ph | Executes a command in the primary output buffer, but suppress all terminal output for the command. |
pp | Executes a command in the primary output buffer, but displays the output of the output buffers. |
pw | Executes a command in the primary output buffer, but waits for a user response before continuing. |
px | Executes a command in the primary output buffer, but returns to TCL, not Proc, after processing. |
ri | Reset (clear) the input buffers. |
ro | Reset (clear) the output buffers. |
s | Sets the position of the input buffer and optionally selects the primary input buffer. |
sp | Select the primary input buffer. |
ss | Select the secondary input buffer. |
ston | Select the secondary output buffer (stack on). |
stoff | Select the primary input buffer (stack off). |
t | Formatted terminal output. |
u | User exit. |
x | Exits back to TCL or to the calling Proc. |
+ | Adds a decimal number to a parameter in the input buffer. |
- | Subtracts a decimal number from a parameter in the input buffer. |
() | Transfers control to another Proc. |
[] | Subroutine call or call to another Proc. |