var dirstr:string getdir(0,dirstr);
sorry it works, the error has also to do with the other described problem Rainer _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal