AUTOPLOT is designed for interactively use. However, there may be occasions when the same sequences of commands have to be used repeatedly. These may be entered into a command file, generally referred to as a USE file. A command file is read by means of the command:
where <filename> is the name of the USE file required.
Any editor may be used to create a USE file, which must be saved as a sequential text file. The commands to be entered in it are the same as those entered interactively; all abbreviations are valid, as are several commands on one line separated by semi-colons.
Two extra features have been introduced to control USE files, namely:
(1) The command:
which causes the program to hold the picture on the screen until <Return> is pressed. PAUSE must be placed on a line by itself.
(2) A line beginning with an asterisk (*) signifies that the line is a comment.
The following is an example of command file:
*Test command file... first read some data
DATA 1 1
DATA 1 2
DATA 1 3
*Now plot each curve separately
In this file, the first three commands read data elements from a PLOT file. The program then draws each curve in a different line style with a pause between each curve so that the picture can be viewed.
When <Return> is pressed, the program plots the next curve and then PAUSEs again.
The END in a command file causes an exit from AUTOPLOT; if END is omitted, control is returned to the interactive mode and the prompt Command? appears.
Only one USE file may be in use at a time; therefore a USE command cannot be issued from within a USE file.
A 'macro-making' facility is now available by means of a new command that records the interactive command-session in a file. The file can subsequently be read as a USE file to reproduce automatically the command sequence.
For further information: see the entry LOG in the PHOTON help dictionary
The following commands are recognised by the PHOENICS Input Language
|REGEXT,||RESTRT,||RSET,||RUN,||SATRUN,||SEE,||SEE C,||SEE I,|
For help on any item (except END), enter the command name followed by a question mark, thus ARRAY?
-------------------------------------- Photon Help ----
[Comnd] switches the system from menu mode to command mode. The sub-menu activated with COMND contains two items:
[Dialog in full size screen]