What's going on???(file assign) lazarus / 13-General ---------------------------------------------------------------------- alanlam2009 · 2007-12-11 14:56 (http://windshadow.lam.googlepages.com/70q12.tmp.jpg) (http://windshadow.lam.googlepages.com/rne13.tmp.jpg) ANY PROBLEM :?:  :?: ---------------------------------------------------------------------- antonio · 2007-12-11 15:09 Try this: Code: [Select] var   f :textfile; begin   assignfile(f, 'filename.txt');   closefile(f); Probably compiler is reading Form1.assign and Form1.close. ---------------------------------------------------------------------- alanlam2009 · 2007-12-12 10:18 ??? ---------------------------------------------------------------------- Marc · 2007-12-12 11:35 I guess your code is in some form ? A form has also an assing method and a close method. So replace your assign(... call with assignfile(... ---------------------------------------------------------------------- alanlam2009 · 2007-12-13 12:58 o... great~~