Actions

Difference between revisions of "%gns"

From Zenitel Wiki

Line 9: Line 9:
 
%gns(group, 0) returns the first station in ''group''.  
 
%gns(group, 0) returns the first station in ''group''.  
  
This macro can be used to create a chain of events that propagate over all members of a group.
+
This macro can be used to create a chain of events that propagate over all members of a group.<br>
 +
Example: [[Empty a group (Event Handler)]]
  
 
<p>
 
<p>
 
Example: [[Empty a group (Event Handler)]]
 
 
 
 
Back to [[Event_Handler#List_of_macros]].
 
Back to [[Event_Handler#List_of_macros]].
  
 
[[Category:Event Handler]]
 
[[Category:Event Handler]]

Revision as of 12:05, 12 August 2008

%gns( , ) : Event_Handler macro - Group Next Station

Format: %gns(group, station)

Returns the next station after station which is a member of group. Returns ‘0’ if no more members in group.

%gns(group, 0) returns the first station in group.

This macro can be used to create a chain of events that propagate over all members of a group.
Example: Empty a group (Event Handler)

Back to Event_Handler#List_of_macros.