(gasp.info) Constants
Info Catalog
(gasp.info) Markers
(gasp.info) Syntax Details
(gasp.info) Symbols
String and numeric constants
----------------------------
There are two ways of writing "string constants" in GASP: as literal
text, and by numeric byte value. Specify a string literal between
double quotes (`"STR"'). Specify an individual numeric byte value as
an absolute expression between angle brackets (`<EXPR>'. Directives
that output strings allow you to specify any number of either kind of
value, in whatever order is convenient, and concatenate the result.
(Alternate syntax mode introduces a number of alternative string
notations; Alternate macro syntax Alternate..)
You can write "numeric constants" either in a specific base, or in
whatever base is currently selected (either 10, or selected by the most
recent `.RADIX').
To write a number in a _specific base_, use the pattern `S'DDD': a
base specifier character S, followed by a single quote followed by
digits DDD. The base specifier character matches those you can specify
with `.RADIX': `B' for base 2, `Q' for base 8, `D' for base 10, and `H'
for base 16. (You can write this character in lower case if you
prefer.)
Info Catalog
(gasp.info) Markers
(gasp.info) Syntax Details
(gasp.info) Symbols
automatically generated byinfo2html