! ! Bob Morrison HCS_C Xpress Control Program ! Example IF-IS-ELSE statement config end begin if reset then console = "Example IF-IS-ELSE HCS_C events" video = "%N1 Starting HCS_C %D %B" end ! IF-IS-ELSE if change_value(hour) then console = "hour is " if change_value(hour) is 6 then console = "6 AM" is 7 then console = "7 AM" is 8 then console = "8 AM" is 13 then console = "1 PM" is 14 then console = "2 PM" is 15 then console = "3 PM" is 9 then console = "9 AM" is 10 then console = "10 AM" is 11 then console = "11 AM" is 12 then console = "12 PM" else console = "." end end