Michael Van Canneyt wrote: >> Well, true is -1 and false 0 :) I wonder if we should forbid it in fpc >> mode ... > > We should. IMHO ByteBool is unsigned so >=0... I suggest to change the internal value of TRUE to 1 for all boolean types, except in mode delphi. Then "for b:= false to true" works as one would except. Regards, Adriaan van Os