Hi all, I'm having some property syntax issues here:
What I have is a property list ('gMechFailure') with 12 properties
('roomunit1' through to 'roomunit12'). I want to access these properties
based on the value of a dynamic variable. To achieve the result I want I
need to concatenate the property name and variable something like this:
if gMechFailure[ #roomunit & currentUnit ] = "foo" then
nothing
end if
(where 'currentUnit' is the variable I want to find)
Hope that hasn't baffled people too much! Any help would be greatly
appreciated...
Cheers
MangO
[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!]