On 23 mei 2005, at 11:43, Peter Vreman wrote: > {$ifdef fpc}const memavail=high(ptrint);maxavail=high(ptrint);{$endif} Then we could maybe also add an optimization that checks whether you are comparing against the upper or the lower bound of the current type and completely optimize away the checks :) Jonas