Thank you all for the help!

On Mon, Oct 17, 2016 at 10:51 AM Jonas Maebe <>

> Luiz Gonzaga de Oliveira Neto wrote:
> > Would be it be better to try to compile this with the Turbo Pascal
> > compiler then? Or do you think it would be easier to try to remove the
> > lines with these codes and continue with FPC? My fear is that in some of
> > these modifications I change what the code was supposed to do.
> As the link that Bart posted explains
> ( ), HeapError is a
> pointer to a function that would be called when you're out of memory.
> That happened quite regularly if all you had was 640KB, but it is
> extremely unlikely to happen if you are running that same program on the
> same inputs on a 32 or even 64 bit platform.
> If that would happen anyway, then by default FPC will terminate your
> program with a Run-time error 204. You can then still look at what the
> original program did if it ran out of memory and try to do the same in a
> more preventative way, if it did not simply use that HeapError function
> pointer to print a (more user-friendly) error message and terminate as
> well.
> Jonas
> _______________________________________________
> fpc-pascal maillist  -
------  Luiz G. de Oliveira Neto ------
------------ Unicamp - EC09 -----------
fpc-pascal maillist  -

Reply via email to