I was just trying to run some old code and found that my calls to Move are crashing (3.1.1/ppcx64) so I tried to make this simple example and it’s crashing also. Also for some reason I can’t use @i as the first parameter of Move and MemSize on “dest” returns 24 instead of 4. What’s going on here???
var i: integer; dest: pointer; src: pointer; dest := GetMem(sizeof(i)); i := 100; src := @i; Move(src, dest, sizeof(i)); writeln(PInteger(block)^); Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal