prex.gsf
Name
prex() - Print the command before it is executed.
Synopsis
prex( cmd )
Description
It is convenient for debugging.
Options and Return values
- cmd
- Command to be executed.
Examples
(1) Show control file name when opening it in the script.
-
test.gs
rc = gsfallow( 'on' ) ctl = 't.ctl' prex( 'open 'ctl )
-
console
ga-> test open t.ctl
Script source code
- prex.gsf (necessary)