Accessing imbedded custom properties (or other variables for that matter)

Ken Ray kray at sonsothunder.com
Tue Oct 12 22:19:45 EDT 2004


On 10/12/04 9:10 PM, "Alan Gayne" <alanira9 at mac.com> wrote:

> However, the name of the custom property I want to set is in the
> variable myPropName.
> 
> So how do I make the spontaneous contents of the variable myPropName
> into the name of a property, the contents of which I want to get or
> set?

Use the "do" command, like:

  do "set the" && myPropName && "of this stack to" && \
    quote & "1234" & quote

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list