Difference between revisions of "AnsiString"

From SCAR Divi Manual
Jump to: navigation, search
(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...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Availability==
 +
SCAR Divi 3.00 > Current
 +
 
==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>
 +
 +
Output:
 +
  Hello World!
 +
 +
==See Also==
 +
*[[AnsiChar]]
 +
*[[string]]
  
 
[[Category:Types]]
 
[[Category:Types]]
 
[[Category:Basic Types]]
 
[[Category:Basic Types]]

Latest revision as of 15:59, 2 July 2011

Availability

SCAR Divi 3.00 > Current

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