[Jslib] New to jslib and mozilla

Mr Percival moz@thedaisypatch.net
Fri, 04 Jan 2002 15:24:36 -0600


Hi,

Im trying to learn how to use the jslib functions in a mozilla XUL file...

Inside the overlay command I put the following:

js> load('chrome/jslib/jslib.js'); 
js> include('chrome://jslib/io/file.js');
js> f=new File('foo.dat');
js> f.create();

I was hoping this would create a file on my system but its not there.. 
what am I doing wrong... The rest of the XUL file runs fine.. its just 
not creating any file...

Any help would be appreciated