Property questions
Property questions
- Subject: Property questions
- From: David Reynolds <email@hidden>
- Date: Thu, 15 Feb 2001 14:25:08 -0800
Greetings all,
Long time listener, first time caller...
is it possible to reference a property label through a variable?
that is:
property myProp {lable1:1, label2:2, label3:3}
set foo to "label1"
set foo of myProp to 2
as it is, AS looks for a label "foo" in myProp. I want it to look for the
label *contained* by foo in myProp.
Is this doable? I've tried a slew of things and gotten nowhere, this is a
problem I had a while ago and gave up on that approach.
But I'd really like to know.
David Reynolds
----------
tell user
repeat while complexity of ScriptProblem is true
giving up after (goodlyLengthOfTime)
end repeat
end tell