Difference between revisions of "TStrArray"

From SCAR Divi Manual
Jump to: navigation, search
 
Line 16: 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