Hello Fabio,

There are a number of ways you can do this.  You will want to look into the
fileIO Xtra (tech note 3192 and 3177) and the 'value' function (see director
help). Basically you will use fileIO to read and write the text file with
your global variable information and use the value function to parse it back
into lingo again. You may also want to use lists to store all your global
variable information as well.

Hasta...

ck

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Fabio
> Sent: December 8, 2000 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> variables
>
>
> Hi.
>
> First, I'm new to the list and to Director. This is my first job using
> director, an educational CD-ROM, and I'm having some trouble. Does any of
> you guys know how can I save an external txt file with global
> variables set
> during a session, and then load the variables from this txt when I start
> the movie again?!
>
> Thanks.
> Fabio Grachiki
> [EMAIL PROTECTED]
>
>
> [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!]
>
>
>


[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!]

Reply via email to