> 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?!

There are several ways, the most common being:

* setPref() and getPref() Lingo comands. This requires the least code,
but you don't get to choose where the file goes.

* FileIO Xtra. Gives you control over where the file gets written. This
Xtra comes with Director.

* Buddy API Xtra has three functions that let you read from & write to
.ini files. The Xtra costs, but you can use two functions free.

Hope this helps,
Rob

/*********************************
* Rob Wingate, Software Human    *
* http://www.vingage.com         *
* mailto:[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!]

Reply via email to