Difference between revisions of "String"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Description== String is a basic type which holds a null terminated string which consists out of characters that can be both ansi and unicode, SCAR divi does however no...")
 
Line 18: Line 18:
 
*[[Char]]
 
*[[Char]]
 
*[[AnsiString]]
 
*[[AnsiString]]
*[[AnyString]]
 
  
 
[[Category:Types]]
 
[[Category:Types]]
 
[[Category:Basic Types]]
 
[[Category:Basic Types]]

Revision as of 08:40, 2 July 2011

Description

String is a basic type which holds a null terminated string which consists out of characters that can be both ansi and unicode, SCAR divi does however not support unicode characters, so under normal circumstances a string should only contain ansi characters which can also be stored in AnsiString.

Example

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

Output:

 Hello World!

See Also