I think what I need is to somehow say "takethisstring" and use it as the name of an exisiting global variable and then let me have access to that variables list not a string.
You can do that with symbols. I did a quick test with strings but didn�t worked. Try this:
on setGlobal stdnum
variableSymbol = symbol("gStandard"&stdnum&"DataRef")
setAprop (the globals), variableSymbol, "Hello World"
end
on LoadDataSet stdnum variableSymbol = symbol("gStandard"&stdnum&"DataRef") globalValue = getProp ((the globals), variableSymbol) end
Cheers! -- Agust�n Mar�a Rodr�guez | [EMAIL PROTECTED] | www.OnWine.com.ar
[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!]
