[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Using Globals in determinators
John B wrote:
>Hi,
>
>
>
>>I am trying to include some of the global strings in my
determinators.
>>
>>For example the global may be:
>>controllight=A1
>>
>>I want to then send an x10.basic message with the following:
>>command=bright
>>device="glabal=controllight"
>>level=30
>>
>>
>
>Try:
>
>Device={CONTROLLIGHT}
>
>i.e. place the name of the global in curly brackets, and it's value
will
>be substituted.
>So, if the value of CONTROLLIGHT is A1, then you will end up with:
>Device=A1
>
>
>
Thanks, worked a treat.
Any idea where I am going wrong with setting globals using the
determinator script in my other post?
Cheers
xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe: ukha_xpl-subscribe@xxxxxxx
To Unsubscribe: ukha_xpl-unsubscribe@xxxxxxx
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|