The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Inc / Dec a Global



Hi Frank,

>  > I would like to dec a Global .... and thought this would
> do the job.
> > ...{global_name}-1..... but appears not ....
>
> If a new Determinator is created then there is access
> available to inc/dec a Global....But  if editing an exsisting
> Determinator no access to these commands ...Could these
> please be added in a futrue update John....???

On the actions tab of your determinator, instead of clicking the Add
button, click the Wizard button instead.
This will fire up the wizard which does have the Increment and Decrement
options listed.

If you look at the action that's created, you'll see that it's just
using the "Set global" action, and setting the global's value to
the
name of the global with ++ or -- at the end.
E.g. to decrement a global called FRANK, you would have an action to set
the value of FRANK to {FRANK}--

HTH,

John



xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.