The tclread statement loads the TCL command used to activate the program into a variable.
|Variable in which the TCL command used to activate the program is loaded.
The program must be the program called from TCL. The tclread statement does not work when called from a subroutine or from enter or tcl statements. This statement allows parameters to be passed from TCL to a program directly without processing. Individual parameters can be extracted using the field() function.
tclread is used to extract the file name and item-ID from the TCL command line. Here is a sample TCL command using the show program: