Coh3n
2010-06-30 18:57:00
Well this was first brought to my attention from this thread, so I decided to try it out.
Ideas?
program new;
var
a, b: TPointArray;
begin
a := [Point(0, 0), Point(0, 1), Point(1, 1)];
b := InvertTPA(a);
for i := High(b) downto 0
writeln('Point('+IntToStr(b[i].x)+', '+IntToStr(b[i].y)+')');
end.
Returns a type mismatch on this line:
b := InvertTPA(a);
Not sure if it's Simba or the interpreter.Ideas?