The continuation character



next up previous contents
Next: The terminator Up: XSPEC Manual Previous: The infinite skip

The continuation character

If the continuation character (-) is the last non-blank character on a line, or the last before the comment character, then the next line of input will be treated as logically concatenated to the current line. For terminal input, the user will receive a prompt ``->" indicating that the line is treated as a continuation. Note that the continuation character is NOT a delimiter, and thus must be separated from any earlier argument by a blank or some other delimiter. Examples:

These two lines -
are really one line !with 7 arguments
This line is not concatenated- !the 5th argument is "concatenated-"
with the next.
Even if you concatenate -!you are allowed to have comments
on each input line ! this was equivalent to an 8 argument line.
Because of the way continuations are processed, the user may not see the prompt until the program processes the last argument on the line. Thus, the type-ahead for the continuation may be `invisible'.



Keith Arnaud (kaa@genji.gsfc.nasa.gov)
Mon Sep 18 14:36:38 EDT 1995