Subj : Writing to a text file To : MCMLXXIX From : Lab Rat Date : Fri Feb 07 2014 11:05 am Re: Writing to a text file By: MCMLXXIX to Lab Rat on Thu Feb 06 2014 21:09:09 > this actually looks fine to me... you can try checking whether or not the > file.open() was successful ala var didItOpen = file.open('w'); As DM said, I needed to use the variable that I had declared as a file, not just the word 'file'. All working now though, thanks for the reply! Lab Rat. --- þ Synchronet þ Toxic Laboratory BBS - Birmingham, UK - toxicbbs.com .