10 Dec
1999
10 Dec
'99
8:28 p.m.
I'm not sure what the correct behaviour should be in the attached program, but GPC's behaviour is different from the previous extended Pascal compiler I used (I'm not saying that the previous compiler was right). The previous compiler allowed one to write to a text file that had been opened with 'reset' and then 'extend'ed. GPC says: ./daj13: cannot write to read only file `daj13.pas' (error #422) ===== program daj13(input,output); var f:text; begin reset(f,'daj13.pas'); extend(f); writeln(f,'extra text'); end. -- David James mailto:david@tcs01.demon.co.uk Special Stage Rally results archive <URL:http://www.tcs01.demon.co.uk/>