ERROR

ERROR


ERROR Index Level EXCHANGE
Syntax ERROR()
Category BASIC
Type Function
Description 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 just a variable.
Options
See Also TCLREAD PROCREAD PROCWRITE functions
Example test
001 crt error()

If the one-line, cataloged program called "test" is executed as shown, it displays the command line.
Warnings This does NOT work from a PROC or from an "execute" statement.

This works on both R83 and D3 implementations, but D3 users are advised to use the "tclread" statement instead.
Compatibility D3 7.0 AP R83
ERROR Index Level EXCHANGE