The user-supplied data file is divided into several sections. Each section is identified by an associated starword.
The recognised starwords are:
*FORMATS
*TRIGGERS (optional)
*DATA (optional)
*SPECTRA (optional)
*AUTOGAIN (optional)
*COMMANDS (optional)
*FINISH (denotes end of sortfile)
*TRIGGERS (optional)
and should appear in the data file in the above order. Items in the data file are in free format separated by spaces. Each starword section is described in a following chapter.
All starwords, commands and other sort language statements are expected on a new line. Any statement which exceeds a single line may just be continued on the following line. There are no line continuation symbols.
Names used may contain one or two components depending on whether the quantity is a group name or not. Each component must commence with an alphabetic character and may be up to 16 characters in length. Only alphanumeric and underscore "_" characters are allowed.
All names used for single and group parameters, sortwords, items, arrays, maps, parameter lists and routine arguments must be unique, e.g. a parameter list may not have the same name as a sortword.
Numerical values should be specified as appropriate to the command:
integer (in the range -32768 to 32767)
real (in the range 10-38 to 1038)
e.g. 2.143 2376. 936.52E5 1.509E-23
binary (up to 16 bits) e.g. %1011101101
hexadecimal (in the range FFFF to 7FFF) e.g. @0065
Reserved words consist of all keywords and maths function names and cannot be used as other sort program names. See Appendix A for a list of all reserved words.
Comments may be placed anywhere in the text. Any text following an exclamation mark ! or double forward slash // up to end-of-line is ignored by the setup procedure.