Difference between revisions of "AnsiString"

From SCAR Divi Manual
Jump to: navigation, search
(Example)
Line 11: Line 11:
 
end.
 
end.
 
</source>
 
</source>
 +
 +
Output:
 +
  Hello World!
  
 
==See Also==
 
==See Also==

Revision as of 11:54, 1 July 2011

Description

AnsiString is a basic type which holds a null terminated string which consists out of ansi characters. An ansi character represents for the most-part the extended ascii character set with characters having a single byte value of 0 to 255.

Example

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

Output:

 Hello World!

See Also