Branch Tag
The branch tag is used for branching of control.
ex:-
<branch b1>
    <event zero>
    </event>
 
    <event !zero>
    </event>
</branch>
 

Attributes

Messages
switch(arg)    - will generate event arg

The remaining messages have the following format - message(arg1,arg2,event),
arg1 and arg2 are compared and if true event is generated, else !event is generated.
equals
equalsic
startswith
endswith
eq
lt
gt
lte
gte
ex:- equals(#b1.get(data)#,test,test)    -    the test event will be generated.

Events
The events generated by the branch tag depends on the result of execution of messages. The name of the events to be generated under various conditions are specified along with the messages.

DataValues