Subj : a problem To : Scott Adams From : Nenad Mijaljevic Date : Thu Jun 07 2001 01:32 am -=> Scott Adams za Thomas W. Mueller <=- -=> Quoting Thomas W. Mueller to Scott Adams <=- NM>> assign(a,'telefoni.dat'); NM>> reset(a); NM>> write(a,novi); NM>> close(a); TWM>> The above ist basically what you are doing. You open a file for TWM>> reading and then try to write to it. Unless you set the file TWM>> access to readwrite this will not work. Unfortunately I don't SA> Yep. I wasn't sure if he wanted it appended or new file. SA> I've actually never touched the fileMode stuff except SA> I think once in 18+ years doing pascal...that was for SA> a bbs util I think that required it. Course back in SA> pascal 3 you had to use it alot... Good for you,good for me...You are messing with Pascal 18+ years,and I'm 17.That should tell me something-that I'm on the right place :) Thanks! celtic@setnet.co.yu ... --- * Origin: BBS Politika, Bgd_YU (2:382/133) .