[fpc-pascal] QWord/UInt64 and Range Check Errors
    Inoussa OUEDRAOGO 
    inoussa12 at gmail.com
       
    Thu Jun 25 20:59:12 CEST 2009
    
    
  
2009/6/25 Jonas Maebe <jonas.maebe at elis.ugent.be>:
>
> 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.
Agreed.
-- 
Inoussa O.
    
    
More information about the fpc-pascal
mailing list