> On Apr 19, 2017, at 5:17 PM, Michael Van Canneyt <mich...@freepascal.org> > wrote: > > It's a variable which the compiler does not put on the stack, it exists just > in a register.
That kind of defeats the purpose then if you can’t rely on function scoped variables to be restored. Maybe that’s what the code in the original link did? I was going to try it but I never figured out how to replace VirtualAlloc without Windows (I’m on a Mac). Thanks. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal