[fpc-pascal] QWord/UInt64 and Range Check Errors

J├╝rgen Hestermann juergen.hestermann at gmx.de
Sat Jun 27 12:12:22 CEST 2009

> The fact that Borland regarded "$FF..FF" as a 2's complement
> representation and not as a base-16 representation of an integer is
> not really what I would call "Pascal spirit". As a matter of fact,
> "Borland mess" would be more appropriate. :-)

I always avoid such imponderabilities by using fillchar to set all bits 
of a structure to 1 (or 0);


And single bits can be modified with AND/OR afterwards if needed.

More information about the fpc-pascal mailing list