> On Jan 6, 2018, at 5:25 PM, Karoly Balogh (Charlie/SGR) > <char...@scenergy.dfmk.hu> wrote: > > So it doesn't crash, because it never loads from this "invalid" address it > calculates.
Are we talking about the address on the stack at compile time? If no memory was ever allocated (which I thought nil suggested) then I don’t see where it’s getting an address of anything. For anyone interested can you recode that function to more Pascal? It feels like we’re going needlessly low level when another method would make more sense. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal