Jump to content

True and False constants


larryllix

Recommended Posts

True = 1

False = 0

 

...permanently defined would be real nice to improve ISY program coding readability.

 

 

Currently, On and Off are available  constants that we all use frequently with devices in programs.

 

I currently have these constants (and many others for rooms, lighting and LS states, etc.) defined with Integer variables and use them frequently.

 

$cTrue  = 1  (init to 1)

$cFalse = 0  (init to 0)

 

A Constant variable grouping page for Integer types would be even better. :)

 

 

Thanks UDI!

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...