Actions

Difference between revisions of "%gns"

From Zenitel Wiki

 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{AI}}
 
%gns( , ) : [[Event_Handler]] macro - Group Next Station
 
%gns( , ) : [[Event_Handler]] macro - Group Next Station
  
Line 5: Line 6:
 
Returns the next station after ''station'' which is a member of ''group''. Returns ‘0’ if no more members in ''group''.
 
Returns the next station after ''station'' which is a member of ''group''. Returns ‘0’ if no more members in ''group''.
  
* ''group'' is [[Groups|group number]] 1 – 100
+
* ''group'' is [[Groups|group number]] 1 – 250
 
* ''station'' is [[Physical_number]] 0 – 552  
 
* ''station'' is [[Physical_number]] 0 – 552  
 
%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.<br>
 
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)]]
+
Example: [[Empty a group (Event Handler)]]<br>
 +
 
 +
 
 +
Also see: [[%sng]], [[%sgm]] , [[%ges]].<br>
  
<p>
 
 
Back to [[Event_Handler#List_of_macros]].
 
Back to [[Event_Handler#List_of_macros]].
  
 +
 +
 +
[[Category:Event Handler macros]]
 
[[Category:Event Handler]]
 
[[Category:Event Handler]]

Latest revision as of 08:47, 4 October 2019

AI.png

%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)


Also see: %sng, %sgm , %ges.

Back to Event_Handler#List_of_macros.