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

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Jun 25 20:54:10 CEST 2009

On 25 Jun 2009, at 20:52, Ruediger Hahn wrote:

> So what do I have to do then? It seems that a cast is the best  
> solution:
> <code>
> MyConst : UInt64 = UInt64($FFFFFFFFFFFFFFFF);
> </code>
> Am I right?

Yes, indeed. That will always work and is completely safe.


More information about the fpc-pascal mailing list