Difference between revisions of "TPACombine"

From SCAR Divi Manual
Jump to: navigation, search
(Example)
(Redirected page to CombineTPA)
 
Line 1: Line 1:
==Definition==
+
#REDIRECT [[CombineTPA]]
<source lang="scar" lines="false">
 
function TPACombine(const TPA1, TPA2: TPointArray): TPointArray;
 
</source>
 
  
==Availability==
+
[[Category:Deprecated Functions]]
SCAR Divi 3.26 > Current
 
 
 
===Aliases===
 
*CombineTPA (SCAR Divi 3.20b > Current)
 
 
 
==Description==
 
Appends the given [[TPointArray]] '''TPA2''' to end the given TPointArray '''TPA1''' and returns it.
 
 
 
==Example==
 
<source lang="scar">
 
begin
 
  WriteLn('TPointArray[' + TPAToStr(TPACombine([Point(0, 0), Point(1, 2),
 
    Point(5, 6)], [Point(-5, 2), Point(1, 3)])) + ']');
 
end.
 
</source>
 
 
 
Output:
 
TPointArray[(0,0);(1,2);(5,6);(-5,2);(1,3)]
 
 
 
[[Category:Functions]]
 
[[Category:TPA Functions]]
 
[[Category:Array Functions]]
 

Latest revision as of 18:18, 20 October 2011

Redirect to: