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

Alan Gayne alanira9 at mac.com
Wed Oct 13 23:17:42 EDT 2004


Thanks to everyone for the suggestions.

Amazingly (to me at least, they ALL seem to get the job done

Regards to all,
Alan
On Oct 13, 2004, at 2:34 AM, use-revolution-request at lists.runrev.com 
wrote:

>
> Message: 16
> Date: Wed, 13 Oct 2004 05:29:31 +0200
> From: "MisterX" <b.xavier at internet.lu>
> Subject: RE: Accessing imbedded custom properties (or other variables
> 	for	that matter)
> To: "'How to use Revolution'" <use-revolution at lists.runrev.com>
> Message-ID: <20041013032441.7DB82930058 at mail.runrev.com>
> Content-Type: text/plain;	charset="us-ascii"
>
> you don't need the quotes for a numeral or variable though...
>
>   do "set the" && myPropName && "of this stack to 1234"
>
>   do "set the" && myPropName && "of this stack to aValueORaString"
>   where aValueORaString is an existing variable...
>
>> -----Original Message-----
>> From: use-revolution-bounces at lists.runrev.com
>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray
>> Sent: Wednesday, October 13, 2004 04:20
>> To: Use Revolution List
>> Subject: Re: Accessing imbedded custom properties (or other
>> variables for that matter)
>>
>> 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
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>



More information about the use-livecode mailing list