Subj : file.iniGetObject()
To : MCMLXXIX
From : Digital Man
Date : Tue Sep 14 2010 04:32 pm
Re: file.iniGetObject()
By: MCMLXXIX to Digital Man on Mon Sep 13 2010 10:30 am
> Would it break anything if calling file.iniGetObject("section"); returned
> undefined instead of an empty object if the section "section" doesn't exist
> in the file?
>
> It's kind of a pain to work around that.
I just committed a change to do that, try it and let me know. Now, one caveat
is that the method will return null/undefined if the specified section doesn't
exist in the .ini file *or* it contains no keys/values. The second condition
may prove to be a problem for some scripts. We'll have to see.
digital man
Snapple "Real Fact" #93:
A Kangaroo can jump 30 feet.
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net