[fpc-pascal] Error: Identifier not found "Heap Error"

Luiz Gonzaga de Oliveira Neto luiz.g.oliveira.neto at gmail.com
Tue Oct 18 19:35:26 CEST 2016

Thank you all for the help!

On Mon, Oct 17, 2016 at 10:51 AM Jonas Maebe <jonas.maebe at elis.ugent.be>

> 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
> (http://putka.upm.si/langref/turboPascal/0683.html ), 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  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
------  Luiz G. de Oliveira Neto ------
------------ Unicamp - EC09 -----------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161018/c7575093/attachment.html>

More information about the fpc-pascal mailing list