|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
− | ==Definition==
| + | #REDIRECT [[TPARemove]] |
− | <source lang="scar" lines="false">
| |
− | procedure TPARemovePoint(var TPA: TPointArray; const Point: TPoint);
| |
− | </source>
| |
| | | |
− | ==Availability==
| + | [[Category:Deprecated Functions]] |
− | SCAR Divi 3.26 > Current
| |
− | | |
− | ==Description==
| |
− | Removes the last occurrence of a given [[TPoint]] '''Point''' in a [[TPointArray]] '''TPA'''. An extended function with additional functionality is available as [[TPARemovePointEx]].
| |
− | | |
− | ==Example==
| |
− | <source lang="scar">
| |
− | var
| |
− | TPA: TPointArray;
| |
− | | |
− | begin
| |
− | TPA := [Point(0, 0), Point(2, 2), Point(4, 5), Point(2, 2), Point(5, 10)];
| |
− | TPARemovePoint(TPA, Point(2, 2));
| |
− | WriteLn('TPointArray: ' + TPAToStr(TPA));
| |
− | end.
| |
− | </source>
| |
− | | |
− | Output:
| |
− | TPointArray: (0,0);(2,2);(4,5);(5,10)
| |
− | | |
− | ==See Also==
| |
− | *[[TPARemovePointEx]]
| |
− | *[[TPARemove]]
| |
− | *[[TPARemoveDupl]]
| |
− | *[[TPAAppend]]
| |
− | | |
− | [[Category:Functions]]
| |
− | [[Category:TPA Functions]]
| |
− | [[Category:Array Functions]] | |