That fixes it, but then the question is why does {$mode delphi} differ from {$mode objfpc}?
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal