next up previous contents index search.gif
Next: 1.2 Comments Up: 1. Pascal Tokens Previous: 1. Pascal Tokens

1.1 Symbols

Free Pascal allows all characters, digits and some special ASCII symbols in a Pascal source file.

Recognised symbols

\begin{syntdiag}\setlength {\sdmidskip}{.5em}\sffamily\sloppy \synt{letter} \( \lit*{A ... Z} \\ \lit*{a ... z} \)\end{syntdiag}

\begin{syntdiag}\setlength {\sdmidskip}{.5em}\sffamily\sloppy \synt{digit} \lit*{0 ... 9}\end{syntdiag}

\begin{syntdiag}\setlength {\sdmidskip}{.5em}\sffamily\sloppy \synt{hex\ digit}
\( \lit*{0 ... 9} \\ \lit*{A ... F} \\ \lit*{a ...f} \)\end{syntdiag}
The following characters have a special meaning:

 + - * / = < > [ ] . , ( ) : ^ @ { } $ #
and the following character pairs too:

<= >= := += -= *= /= (* *) (. .) //
When used in a range specifier, the character pair (. is equivalent to the left square bracket [. Likewise, the character pair .) is equivalent to the right square bracket ]. When used for comment delimiters, the character pair (* is equivalent to the left brace { and the character pair *) is equivalent to the right brace }. These character pairs retain their normal meaning in string expressions.

root
1999-06-10