How about using Buddy API to write an INI file to the
hard disk?  I use this all the time to store user
specific data.  You can create a simple format like
this:
[Lessons]
lesson1=1  (1 means completed)
lesson2=1
lesson3=
lesson4=

at start up use:
baReadIni("lessons","lesson1",error msg,path to INI) 
This will return the value of lesson1 which you can
put in a variable.  When the user logs out, just
update the INI using baWriteIni.  Buddy API is a must
have Xtra for any serious Director programmer who
needs to run system functions.

Hope this helps,
Dennis Acton

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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

Reply via email to