The error() function retrieves the TCL command used to activate the program and loads it into a specified variable.
The parentheses following the function are required, and never contain any arguments. Without the parentheses, it is a variable.
D3 users are advised to use the tclread statement instead.
If the one-line, cataloged program called test is executed as shown, it displays the command line.
test 001 crt error()