G'day all,
This is probably not the best place to post this, so I will take suggestions
(don't want to upset anybody).
Drawing a polygon on a canvas, the code line is:
Polygon([Point(a,b), point(b,c) etc ]);
The compiler expresses that after the 1st variable (a) that ")" was expected but "," found.
Many examples that I have looked at, tend to be equivalent to my line of code.
Is there a trick to using Point() other than creating an array? The compile fails even with
a simple reference to Point such as (for example):
Var
Q : TPoint;
a,b : integer;
a := 1;
b := 2;
Q := Point(a,b); same problem.
Any suggestions? (OBTW it worked OK in Delphi)
Thanks,
DG