this doesn't work: 

write %params.txt {param1: false}
params: make object! to-block read %params.txt

returns: ** Script Error: false is not defined in this
context.
** Where: param1: false

this does work: 
params: make object! [param1: false]

-- as you'd expect

and this works too:

write %params.txt {param1: "text"}
params: make object! to-block read %params.txt

And that's what's baffling me. 

I'd like to store parameters in a file outside of my
code.  I'd like to use an object inside the code to
hold the parameters.  If I create the object inside
the code - then read the parameter file stored on disk
and over-write any values in the default parameter
object, it allows the user to overwrite only some
parameters.

So - why is a boolean value not ok in this context? 
Any clues anyone?

thanks,

-Jeff



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to