Outputting Complete Specifications
- Last UpdatedJan 13, 2023
- 1 minute read
To output one or more complete SPECs, use the command syntax
OUTput specname1 specname2 ...
For example, to send the content of Specification /RF300 to a file named /RF300.SPEC in your current OS directory, enter the commands
FILE /RF300.SPEC
OUTPUT /RF300
The data will be output to the selected device in a similar tabular format to that in which it was entered into the SPEC, although the precise tabulation settings will have been modified to suit the line width of the destination device (refer to Controlling the Output Format).
SPEC data output in this way has the same NAME TYPE ... sequence as that which applies when existing data is being accessed for editing; not the TYPE NAME ... sequence in which it was entered. To output a SPEC with the heading sequence TYPE NAME ... (to be used, for example, as input at a later time; refer to Using Macros For SPECON Inputs), use the extended command syntax
OUTput NEW specname1 specname2
(The default version of the OUTPUT command is equivalent to OUTPUT OLD, but there is no advantage in using the longer form.)