[fpc-pascal] LongWord

Daniël Mantione daniel.mantione at freepascal.org
Mon May 7 14:33:21 CEST 2007



Op Mon, 7 May 2007, schreef Jonas Maebe:

> 
> On 7 mei 2007, at 14:15, Carsten Bager wrote:
> 
> > I have written a small demo program that gives a runetime error when it
> > runs.
> > Is it the compiler or is it me?
> 
> See http://www.freepascal.org/mantis/view.php?id=8321 for a long discussion on
> this topic.

10 - 5 = 5

This is a different issue; 10-5 should not overflow regardless of the 
type that is used for the calculation.

Daniël


More information about the fpc-pascal mailing list