[fpc-devel]Which bug: FPC or Delphi?

Barry Kelly dynagen at eircom.net
Thu Sep 13 11:55:36 CEST 2001


On Thu, 13 Sep 2001 11:56:46 +0400 (MSD), pavel at insect.mail.iephb.ru
(Pavel V. Ozerski) wrote:

> Hello,
> 
> I found a important difference between FPC (1.1) and Delphi 3.0.
[...]
> var
>  x:integer;
> begin
>  readln(x);
> 
>  writeln(cardinal(x)>100);

D3's Cardinal is only 31 bits.

-- Barry

-- 
  If you're not part of the solution, you're part of the precipitate.
Team JEDI: http://www.delphi-jedi.org
NNQ - Quoting Style in Newsgroup Postings
  http://web.infoave.net/~dcalhoun/nnq/nquote.html




More information about the fpc-devel mailing list