Halts execution of a Proc and returns control to TCL.
X{text}{+}
text is the text to be displayed.
+ specifies that a RETURN will not be output and the cursor remains at the present position when control is returned to TCL.
The X command is typically used to stop a Proc if an error is found or when there are no more Proc instructions to be executed.
The optional text following the X command should be informative.
F-OPEN 1 %1 X CANNOT OPEN FILE
In this example, the X command stops execution of the Proc if the file in %1 cannot be opened and displays a message to that effect.
. . . XEND OF PROCESSING
In this example, the X command terminates the Proc and displays a message when all the Proc instructions have been executed.