Am 14.12.2014 um 18:05 schrieb Adriaan van Os: >> IMHO using the for loop on a non pascal boolean type is simply wrong. At the >> very least the assumption that the false and true are successive, and maybe >> even using BOOL as loopvar in the first place. > > The compiler accepts it.
Can somebody with access to delphi please check, if it compiles var b : bytebool; begin for b:=false to true do ; end. ? _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel