Escape symbol
Backslash ( \
) is the escape character of Genero BDL.
The Genero BDL compiler treats a backslash ( \
) as the default escape symbol,
and treats the immediately following symbol as a literal, except for special characters such as
\r
or \t
.
To specify anything that includes a literal backslash, enter double
(
\\
) backslashes wherever a single backslash is
required. Similarly, use \\\\
to represent a literal
double backslash.MAIN
DISPLAY "\a" -- displays a
DISPLAY "\r" -- displays CR
DISPLAY "\n" -- displays NL
DISPLAY "\ta" -- displays <tab>a
DISPLAY "\\" -- displays \
DISPLAY "\\\\" -- displays \\
END MAIN