This will allow larger programs to be written and maintained on the security panels. The language won't change the way the underlying program is run. The security panel runs the programs. The current understanding is that state changes within the panel cause the list of program statements to be checked in order. Everything starting from the pound to end of line will be ignored and taken as a comment.
All programming starts with detecting an event.
There are two keywords that detect an event and take control. The when keyword will be followed by the type of event you want to activate on. The events are defined the same way as the current HAI programming environment . The at keyword captures control when a specific time is met. The format is similar to the existing HAI format.