script - write a command script



next up previous contents
Next: show - current Up: Commands Previous: scale - plot

script - write a command script

 script [filename]

Open a script file where all XIMAGE commands are written. This command is useful to create macros including a set of commands that have to be executed several times. The option filename specifies name of the file; the file extension is .xco. If no filename is specified then the default of ximage.xco is used.

A script file will be closed if:

The script files are in plain ASCII text. XIMAGE @filename will re-execute all the commands stored in the file filename.xco.

Examples:

 
script filename             ! all commands subsequently executed are stored
                            ! in a file called `filename.xco`



Lorella Angelini
Thu 12 Oct 16:28:11 1995