Difference between revisions of "AnsiString"
From SCAR Divi Manual
(Created page with "==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...") |
|||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
AnsiString is a basic type which holds a null terminated string which consists out of [[AnsiChar|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. | AnsiString is a basic type which holds a null terminated string which consists out of [[AnsiChar|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== | ||
+ | <source lang="scar"> | ||
+ | var | ||
+ | s: AnsiString; | ||
+ | begin | ||
+ | s := 'Hello World!'; | ||
+ | WriteLn(s); | ||
+ | end. | ||
+ | </source> | ||
[[Category:Types]] | [[Category:Types]] | ||
[[Category:Basic Types]] | [[Category:Basic Types]] |
Revision as of 17:38, 25 June 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.