gasp.info: Alternate
Go backward to Syntax Details
Go up to Commands
Go to the top op gasp
Alternate macro syntax
If you specify `-a' or `--alternate' on the GASP command line, the
preprocessor uses somewhat different syntax. This syntax is
reminiscent of the syntax of Phar Lap macro assembler, but it is _not_
meant to be a full emulation of Phar Lap or similar assemblers. In
particular, GASP does not support directives such as `DB' and `IRP',
even in alternate syntax mode.
In particular, `-a' (or `--alternate') elicits these differences:
_Preprocessor directives_
You can use GASP preprocessor directives without a leading `.'
dot. For example, you can write `SDATA' with the same effect as
`.SDATA'.
_LOCAL_
One additional directive, `LOCAL', is available. *Note Defining
your own directives: Macros, for an explanation of how to use
`LOCAL'.
_String delimiters_
You can write strings delimited in these other ways besides
`"STRING"':
`'STRING''
You can delimit strings with single-quote charaters.
`<STRING>'
You can delimit strings with matching angle brackets.
_single-character string escape_
To include any single character literally in a string (even if the
character would otherwise have some special meaning), you can
prefix the character with `!' (an exclamation mark). For example,
you can write `<4.3 !> 5.4!!>' to get the literal text `4.3 >
5.4!'.
_Expression results as strings_
You can write `%EXPR' to evaluate the expression EXPR and use the
result as a string.
Created Wed Sep 1 16:42:12 2004 on bee with info_to_html version 0.9.6.