Magnus,
>From your code it looks as if you are saving a list. You can avoid all
the hassles of saving your data as a text file using FileIO and then
having to reconstitute it from a string by using the vList Xtra from
UpdateStage. vList saves and retrieves Lingo lists and other data
types in binary format. 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.
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
isSame
I think it would do exactly what you need.
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!]