> I've made a system which writes a property list into a external
file.
> Later this external (text) file is read and valued in order
> to use it as a
> regular list. However, if some of the properties in my list is VOID,
> Director outputs it into this external file as <VOID> and
> when I try to read
> and use value command, it's not understood anymore.
Jussi,
Rather than saving your data as a text file and then worryng about
reconstituting it from a string, you could use the vList Xtra from
UpdateStage. vList saves and retrieves Lingo lists and other data
types in binary format using either an external file or a cast member
for storage. vList correctly retrieves lists regardless of the data
content. Director's value() function is tripped up by certain list
content and may not be able to rebuild a list saved as a string. vList
saves lists and other data types in their native binary format rather
than converting them to and from text. Since no conversion of the data
is necessary, vList is up to 20 times faster than Director's value()
method, allows lists to be retrieved in a sorted state, and preserves
floating point numbers to their full precision.
A limited set of vList commands are free to use and do not display a
demonstration dialog. The free commands allow you to save a list to a
file and retrieve it in authoring and from a projector but not in
Shockwave. They are:
new(xtra "vList",filename)
write
read
I think it would resolve your problems.
To find out more about the vList Xtra, read the documentation on line,
download an evaluation copy or purchase the full version go here:
http://www.updatestage.com/xtras/vlist.html
I hope that this helps.
Cheers,
Al Hospers
Marketing Associate
UpdateStage
alhospers<at>updatestage<dot>com
http://www.updatestage.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]