Numbers are denoted in decimal notation. Real (or decimal) numbers are written using engeneering notation (e.g. 0.314E1).
Free Pascal supports hexadecimal format the same way as Turbo Pascal does. To specify a constant value in hexadecimal format, prepend it with a dollar sign ($). Thus, the hexadecimal $FF equals 255 decimal.
In addition to the support for hexadecimal notation, Free Pascal also supports binary notation. You can specify a binary number by preceding it with a percent sign (%). Thus, 255 can be specified in binary notation as %11111111.
The following diagrams show the syntax for numbers.
Numbers