Unit ok_caret_character

Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Variables

Description

Test of parsing "ˆchar" constants, see [http://www.freepascal.org/docs-html/ref/refsu7.html].

Note that while FPC docs say that only ˆA .. ˆZ are allowed, actually both FPC 2.0.0 and Kylix 3 accept other characters after the caret, e.g. "ˆ\" is accepted.

See also bug report "[ 1358911 ] Invalid character in input stream".

Overview

Constants

C2 = ˆA;
C3 = ˆB;
C4 = ˆZ;
SUB = ˆZ;
ESC = ˆ[;
FS = ˆ\;
GS = ˆ];
RS = ˆˆ;
US = ˆ_;

Description

Constants

C2 = ˆA;
 
C3 = ˆB;
 
C4 = ˆZ;
 
SUB = ˆZ;

SUBstitute

ESC = ˆ[;

ESCape

FS = ˆ\;

File Separator

GS = ˆ];

Group Separator

RS = ˆˆ;

Record Separator

US = ˆ_;

Unit Separator