> I have tried in the past to convert a string to list using
> ListToText() and
> also TextToList(). When I tried this again at the evaluation
> version of
> Director 8 - this doesn't work.
>
> Could you please tell what's wrong and Is there any other
> ways to get the
> same result?
Hi Ardani,
To my knowledge there is no built-in function in Director called
ListToText() or TextToList() so I am not surprised. You would notmally
use the
myString = String(myList) to convert a list to a string
and
myList = Value(myString) to convert back to a list.
You don't say so, but I assume you will be saving this to dis.
You can also use an Xtra such as vList, by UpdateStage, to do this.
Director's value() function is sometimes 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!]