-
Declaration:
- Procedure SetLength(var S : String; Len : Longint);
-
Description:
- SetLength sets the length of the string S to Len. S can be an ansistring, a short string or
a widestring. For ShortStrings, Len can maximally be 255. For AnsiStrings it can have
any value. For AnsiString strings, SetLength must be used to set the length of the string.
-
Errors:
- None.
-
See also:
- Length (527)
Listing: refex/ex85.pp