Difference between revisions of "TIAToStr"

From SCAR Divi Manual
Jump to: navigation, search
 
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
function TIAToStr(const TIA: TIntArray): AnsiString;
+
function TIAToStr(const TIA: TIntArray): string;
 
</source>
 
</source>
  
Line 8: Line 8:
  
 
==Description==
 
==Description==
Converts a [[TIntArray]] '''TIA''' to a [[AnsiString|string]] formatted as i1;i2;...;in. You can reverse this process with [[StrToTIA]].
+
Converts a [[TIntArray]] '''TIA''' to a [[string]] formatted as i1;i2;...;in. You can reverse this process with [[StrToTIA]].
  
 
==Example==
 
==Example==

Latest revision as of 10:27, 30 April 2012

Definition

function TIAToStr(const TIA: TIntArray): string;

Availability

SCAR Divi 3.28 > Current

Description

Converts a TIntArray TIA to a string formatted as i1;i2;...;in. You can reverse this process with StrToTIA.

Example

begin
  WriteLn(TIAToStr([1, 2, 3]));
end.

Output:

1,2,3

See Also