On 06 Dec 2011, at 00:39, Bernd wrote: > var > x : QWord; > > begin > x := $ffffffffffffffff; > writeln(IntToHex(x, 16)); > end.
All constants > $ffffffff are always parsed as int64. You have to explicitly typecast them to qword() if you want the compiler to treat them that way. Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal