Jussi, try this ...
on ListIO
global gList, gNewList
gList = ["a","b","c"]
new(#field, member(10))
member(10).name = "myList"
member("myList").text = string(gList)
put "field contents = " & member("myList").text
gNewList = value(member("myList").text)
put "new global contents = " & gNewList
put "new global data type = " & ilk(gNewList)
end
--mv
Hi list!
I have a big list in a global variable, say "gList". In authoring
environment I want to copy this run-time-generated list into script.
However, if I use "put gList" in message window and copy that text into
script, all the line breaks go wrong and list is no longer valid.
How can I prevent this from happening? Is there a different approach for
this problem?
BR,
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]