Using 'setProps' With a Custom Property Set |
|
on mouseUp
set the myArray["age"] of me to "very old"
end mouseUp
setprop myArray[whichKey] pValue
switch whichKey
case "name"
answer "Your name is" && pValue
break
case "age"
answer "You are" && pValue
break
end switch
end myArray
Posted 5/6/2002 by Dave Cragg to the Use-Revolution List
(See the complete post/thread)