[fpc-pascal] LongWord
Carsten Bager
carsten at beas.dk
Mon May 7 15:05:40 CEST 2007
> > I have written a small demo program that gives a runetime error
> See http://www.freepascal.org/mantis/view.php?id=8321 for a long
> discussion on this topic.
I do not think that the discussion covers my case, all my numbers are
positive and the result is positive.
I have just tried the example with the 386 linux compiler it returns 5 as one
would expect.
-------------------------------
./make386.shFpc/Pas/Linux/Test/Word32 #
+---------------------------------+
| CFG file ver. 1.00 d. 19/9-2006 |
+---------------------------------+
+--------------------------+
| Compiling for I386 Linux |
+--------------------------+
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for i386
Compiling word32test.pp
Linking word32test
19 Lines compiled, 0.4 sec
-------------------------------------------------
./word32testFpc/Pas/Linux/Test/Word32 #
a=10 b=5
Resultat : 5
Med venlig hilsen
Carsten Bager
BEAS A/S
Brørupvænget 10
DK-7650 Bøvlingbjerg
Tlf. : +45 9788 5222 Fax : +45 9788 5434
www.beas.dk
More information about the fpc-pascal
mailing list