Subj : File.readln() not returning string occasionally
To : All
From : Nightfox
Date : Sun Aug 16 2009 08:42 pm
Hi all -
The Synchronet JavaScript docs say that File's readln() function returns a
string. I've run into a situation where it seems to return something different
occasionally. I was using readln() to read lines from a file, and there were
some blank lines at the end. When it gets to the last line, the thing returned
by readln() seems to be of type "object" rather than "string" (I know this
because I was using typeof() to test what was returned). Is it supposed to do
that, or might it be a bug?
Nightfox
---
� Synchronet � Digital Distortion BBS: digdist.bbsindex.com