[fpc-pascal] The QWord type on WindowsXP

Julian Calderon Almendros julian_calderon at eresmas.com
Tue Jun 4 11:59:26 CEST 2002


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?

THANKS.





More information about the fpc-pascal mailing list