You are not required to dereference pointers to write to them.

var
  P: PPoint;
begin
  P := AlignedArray[0];
  P.X := 3; // can be okay
  AlignedArray[0].Y := 4;  // can be okay as well
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to