[fpc-pascal] LongWord

2007-05-07 Thread Carsten Bager
I have written a small demo program that gives a runetime error when it runs. Is it the compiler or is it me? Regards carsten The program program word32test; {$RANGECHECKS ON} {$OVERFLOWCHECKS ON} {$S+ STACK CHECKING ON}

Re: [fpc-pascal] LongWord

2007-05-07 Thread 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. Jonas

Re: [fpc-pascal] LongWord

2007-05-07 Thread Daniƫl Mantione
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

Re: [fpc-pascal] LongWord

2007-05-07 Thread Carsten Bager
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

Re: [fpc-pascal] LongWord

2007-05-07 Thread Bernd Mueller
Jonas, 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. I think I have hit a similar case

Re: [fpc-pascal] LongWord

2007-05-07 Thread Jonas Maebe
On 7 mei 2007, at 15:14, Bernd Mueller wrote: See http://www.freepascal.org/mantis/view.php?id=8321 for a long discussion on this topic. I think I have hit a similar case with the following code: {$mode objfpc}{$H+} program test; { FPC 2.0.4} var w: Word; begin w:= ; if lo(w)