• File API example?

    From art@VERT/FATCATS to All on Tue Feb 8 07:06:08 2011
    Hey guys, can anyone provide some help on using the file IO API?ããSpecifically, reading lines from a text file, and writing lines to a file? Aãquick example would be quite handy. I've followed the documentation in the APIãwhich doesn't seem to have too much to initialize but haven't been able to doãmuch with it.ããThanks,ã ________________ _______ã \_____ __ \ ___\ ã \ __ \ <_ \ @ fatcats[dot]poorcoding[dot]com ã \_______\___\___\___\ ------------------------------------ã f a t c a t s b b sãã---ã þ Synchronet þ fatcats bbs - http://fatcats.poorcoding.comã
  • From Digital Man@VERT to art on Tue Feb 8 14:29:52 2011
    Re: File API example?ã By: art to All on Tue Feb 08 2011 07:06 amãã > Hey guys, can anyone provide some help on using the file IO API?ã >ã > Specifically, reading lines from a text file, and writing lines to a file?ã > A quick example would be quite handy. I've followed the documentation inã > the API which doesn't seem to have too much to initialize but haven't beenã > able to do much with it.ããUse file.readln() to read a line, file.writeln() to write a line. There areãlots of example uses of the File class in exec/*.js.ããPerhaps if you gave us an example of what you have tried, we can assist.ãã digital manããSnapple "Real Fact" #72:ãThe average person uses 150 gallons of water per day for personal use.ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã