Thanks for your help Hood.
I guess I'll just have to manually reenter the code line by line until I find the fault.
Could even be an"invisible" character on the code line.
I can check if the firstpart.nc file still runs, it may well be that working in metric with the Tormach throws up more errors as they are clearly mostly used in the US, not Europe.