Difference between revisions of "TEAAppend"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function TEAAppend(var TEA: TExtArray; const Ext: Extended): Integer; </source> ==Availability== SCAR Divi 3.34 > Current ==De...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
Output: | Output: | ||
3 | 3 | ||
− | 0,1,3,4 | + | 0,1.4,3.9,4.8 |
==See Also== | ==See Also== | ||
*[[TEAInsert]] | *[[TEAInsert]] | ||
*[[TEADelete]] | *[[TEADelete]] | ||
+ | <!-- | ||
*[[TEARemove]] | *[[TEARemove]] | ||
*[[TEARemoveEx]] | *[[TEARemoveEx]] | ||
+ | --> | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:TEA Functions]] | [[Category:TEA Functions]] | ||
[[Category:Array Functions]] | [[Category:Array Functions]] |
Latest revision as of 13:55, 26 November 2012
Definition
function TEAAppend(var TEA: TExtArray; const Ext: Extended): Integer;
Availability
SCAR Divi 3.34 > Current
Description
Appends the given extended Ext to end of the given TExtArray TEA. The index of the appended element is returned.
Example
var TEA: TExtArray; begin TEA := [0, 1.4, 3.9]; WriteLn(TEAAppend(TEA, 4.8)); WriteLn(TEAToStr(TEA)); end.
Output:
3 0,1.4,3.9,4.8