gkasper Posted July 19, 2008 Posted July 19, 2008 I would like to see constants added after variables show up. What I am thinking of is the compiler style of editor constant. This could be used for things like X-10 devices. If I have an X-10 light in my kitchen at address D8, I could do something like this: Const Kitchen_Light = D8 . . Then Send X10 'Kitchen_Light/Off (11) . . I have a lot of X-10 devices left in my house and it is hard to keep track of what I'm doing in the program code. Is a lot easier to know that Send X10 'Kitchen_Light/Off (11) is controlling my kitchen light instead of Send X10 'D8/Off (11) Another use could be: Const Hall_Lights_Off = Send X10 'B12/Off (11) Send Set 'Hall Back Light' Off Send Set 'Stairs Light' Off . . Then Hall_Lights_Off . .
Michel Kohanim Posted July 20, 2008 Posted July 20, 2008 Hello gkasper, In our triggers 2.0 release (version 2., X10 devices are named (just like their INSTEON counterparts) and as such this problem shall be solved. Thanks so very much, With kind regards, Michel I would like to see constants added after variables show up. What I am thinking of is the compiler style of editor constant. This could be used for things like X-10 devices. If I have an X-10 light in my kitchen at address D8, I could do something like this: Const Kitchen_Light = D8 . . Then Send X10 'Kitchen_Light/Off (11) . . I have a lot of X-10 devices left in my house and it is hard to keep track of what I'm doing in the program code. Is a lot easier to know that Send X10 'Kitchen_Light/Off (11) is controlling my kitchen light instead of Send X10 'D8/Off (11) Another use could be: Const Hall_Lights_Off = Send X10 'B12/Off (11) Send Set 'Hall Back Light' Off Send Set 'Stairs Light' Off . . Then Hall_Lights_Off . .
Recommended Posts
Archived
This topic is now archived and is closed to further replies.