I'm not sure about dynamic variable names... However it sounds like
you could utilize parent scripts for this. What you do is make a
parent script like this:

property variableName
property value

on new(me, iVariableName, iValue)
  variableName = iVariableName
  value = iValue
end

Then whereever you need a new variable then write:

addtodatastructure = new(script "scriptname", "variable1", "value")

What you will need to do is build a data structure to house all these
variables. Could do a list but searching would be slow. I'm not sure
if this helps and I am a little unclear what exactly you are trying to
do, but this is a good way to house a dynamic amount of data; objects
stored in expandable data structures.

Jason

Thursday, January 24, 2002, 3:14:30 AM, you wrote:

S> My project includes a lot of interactive data exchanges, the number and size
S> of which are variable.
S> Does Lingo accept dynamic variable names (i.e. the possibility for the movie
S> to create new variables, and name them of course, when needed) ?
S> In case it does, some hints or script examples would be welcome.

S> Thanks
S> Vincent

S> [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
S> [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming 
Lingo.  Thanks!]



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.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