[fpc-pascal] The QWord type on WindowsXP
Florian Klaempfl
Florian.Klaempfl at gmx.de
Wed Jun 5 21:49:30 CEST 2002
At 11:59 04.06.02 +0200, you wrote:
>If I try:
> ...
> CONST
> QWord_Var : QWord = $FFFFFFFFFFFFFFFF;
> ...
>It has the next error: Invalid Expression. In others ocassions FPC
>interpretes that the constant is a real 80 or so. However if I try:
> PROGRAM ImTestingQWord;
> VAR
> QWord_Var : QWord;
> BEGIN
> ReadLn(QWord_Var);
> WriteLn(QWord_Var)
> END.
>And then I execute ImTestingQWord:
>c>$FFFFFFFFFFFFFFFF
>c>18446744073709551615
>????
>And too there are problems with QWord and the case statment.
>
>Is it a bug?
Not really :) , I guess you're using 1.0.x. The QWord and Int64 type
aren't fully implemented in these compiler version. Only 1.1 supports
the constructs mentioned above.
More information about the fpc-pascal
mailing list