setprops, which property?
Niklas Almesjö
niklas_almesjo at yahoo.com
Fri May 10 02:14:00 EDT 2002
Thanks,
that was just what I was looking for.
cheers,
/ Niklas Almesjö
Sorry. I missed the beginning of this. Is this what you need?
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
Cheers
Dave Cragg
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com
More information about the use-livecode
mailing list