At 13:49 -0500 02/22/2002, Jason Je wrote:
>Hi, Mr. Ockrassa...
Er, 'Warren' is just fine, as is 'Howdy' or, if I really get under
your skin, '*sshole' (You'd be joining a large club there. ;)
>I'd appreciate it if you could explain me some more about your 'shockwave
>safe' mention... Will there be any kind of disadvantage if I use FileIO
>Xtra for this program???
Not unless you want to run it in a browser. Shockwave won't let FileIO work.
>I need to replace '!' with ',' for the each item in an array, and
>'~' is a symbol for another array... which will be like this...
>Symbols[1] = [12, 21, 23, 30, 34, 40, 42, 44, 51, 53]
>Symbols[2] = [11, 13, 22, 30, 31, 33, 34, 41, 43, 51, 53, 62]
>Symbols[3] = [12, 21, 23, 30, 34, 40, 44, 51, 52, 53]
>Symbols[4] = [30, 40, 21, 51, 12, 42, 23, 53, 34, 44]
>So eventually I'll be having a list of lists in Director, right???
Yeah, loks like an array all right. Director can handle those and, as
I mentioned, if you pass your array through the string keyword before
writing it to disk, it will translate nicely; if you then take the
read value off disk and pass it through the value keyword, it will be
turned back into a data list again.
Try this briefly in the message window:
myList = [1, 2, 3]
put myList
listString = string ( myList )
put listString
listAgain = value ( listString )
put listAgain
Note the way the ""s appear and disappear. :D
--
Warren Ockrassa | http://www.nightwares.com/
Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
http://www.osborne.com/indexes/beginners_guides.shtml
[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!]