Just to confirm my observations. (again trying to get pascal script to work)
64 bit windows
procedure FOO(Sender: TSynEdit; const M: String; const P1, P2: TPoint);
"const P1, P2: TPoint" versus "P1, P2: TPoint"
if "const" is NOT used, then TPoint is put into a register
if "const" is used, then TPoint is in mem, and the register is a reference.
Is that right? (I know the doc says, no assumption, and can be ref or
value)
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel