String

From SCAR Divi Manual
Revision as of 11:50, 25 July 2012 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Availability

SCAR Divi 3.00 > Current

Aliases

  • AnyString (SCAR Divi 3.25 > Current)

Description

String is a basic type which holds a null terminated string which consists out of characters that can be both ansi and unicode, usually it will only contain ansi characters which can also be stored in AnsiString. It is recommended to use AnsiString instead.

Example

var
  s: string;
begin
  s := 'Hello World!';
  WriteLn(s);
end.

Output:

 Hello World!

See Also