Hello all I've just noticed a small difference with the gpc-20010512 compiler from the one I was using (gpc-19991030). If you do: program restest(input,output); var s:string(40); t:text; begin s:=""; {$i-} reset(t,s); if (IOResult = 0) then writeln('File exists') else writeln('File does not exist'); end. the 1999 compiled code produces "File does not exist" whilst the 2001 code produces "File exists". Not sure if you consider this worth fixing given I can test for "" before I do the reset() easily enough. ( A "" filename is produced by some legacy code I maintain, when someone presses RETURN to a filename: prompt. Not very sensible to go passing it to reset(), but there you go. ) Yours Ian -- Ian Thurlbeck http://www.stams.strath.ac.uk/ Statistics and Modelling Science, University of Strathclyde Livingstone Tower, 26 Richmond Street, Glasgow, UK, G1 1XH Tel: +44 (0)141 548 3667 Fax: +44 (0)141 552 2079