AnsiString
From Free Pascal wiki
Jump to navigationJump to search│ English (en) │
The data type AnsiString has no size limit and comprises an array of Char (1 byte per character).
Definition of a data field of the AnsiString type:
Var
a: AnsiString;
Examples of valid value assignment:
a: = '0123ABCabc456';
a: = a + '! "§ $% & / () =?';
a: = a + IntToStr (45);
Examples of invalid value assignment:
a: = True;
a: = 4;
In the last two examples, the value has not been converted to the AnsiString type.