Subj : Writing to a text file
To : Lab Rat
From : MCMLXXIX
Date : Thu Feb 06 2014 09:09 pm
Re: Writing to a text file
By: Lab Rat to All on Thu Feb 06 2014 23:55:22
> var f = new File('test.txt');
> file.open('w');
> file.writeln('Line 1');
> file.writeln('Line 2');
> file.close();
this actually looks fine to me... you can try checking whether or not the
file.open() was successful ala var didItOpen = file.open('w');
---
� Synchronet � The BRoKEN BuBBLE (bbs.thebrokenbubble.com)