Difference between revisions of "TStrArray"

From SCAR Divi Manual
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
TStringArray = array of string;
+
TStrArray = array of string;
 
</source>
 
</source>
  
 
==Availability==
 
==Availability==
SCAR Divi 3.00 > Current
+
SCAR Divi 3.34 > Current
 +
 
 +
===Aliases===
 +
*TStringArray (SCAR Divi 3.00 > 3.34 & 3.38 > Current)
  
 
==Description==
 
==Description==
Line 13: Line 16:
 
<source lang="scar">
 
<source lang="scar">
 
var
 
var
   SA: TStringArray;
+
   SA: TStrArray;
  
 
begin
 
begin

Latest revision as of 16:11, 12 December 2012

Definition

TStrArray = array of string;

Availability

SCAR Divi 3.34 > Current

Aliases

  • TStringArray (SCAR Divi 3.00 > 3.34 & 3.38 > Current)

Description

A dynamic array type based on the string type. It holds a set of strings.

Example

var
  SA: TStrArray;

begin
  SA := ['Hello', 'World!'];
  WriteLn(Implode(' ', SA));
end.

Output:

Hello World!

See Also