Ok, i'm trying to understand the tpoint array.
If i write tpoint[0].X:=1;
tpoint[0].Y:=2;
Everything is fine...
Now if I declare temp:integer;
and write temp:=tpoint[0].x;
It compiles fine but crashes when the program runs.
How do i get the value in tpoint[0].x?
Thanks.
Po
If i write tpoint[0].X:=1;
tpoint[0].Y:=2;
Everything is fine...
Now if I declare temp:integer;
and write temp:=tpoint[0].x;
It compiles fine but crashes when the program runs.
How do i get the value in tpoint[0].x?
Thanks.
Po