Difference between revisions of "%sng"
From Zenitel Wiki
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{AI}} | ||
%sng( , ) : [[Event_Handler]] macro - Station Next Group | %sng( , ) : [[Event_Handler]] macro - Station Next Group | ||
Line 4: | Line 5: | ||
Returns the next group after ''group'' of which ''station'' is a member. Returns '0' if ''station'' is not a member of any (more) groups. | Returns the next group after ''group'' of which ''station'' is a member. Returns '0' if ''station'' is not a member of any (more) groups. | ||
− | * ''group'' is [[Groups|group number]] 1 – | + | * ''group'' is [[Groups|group number]] 1 – 250 |
* ''station'' is [[Physical_number]] 0 – 552 | * ''station'' is [[Physical_number]] 0 – 552 | ||
%sng(station, 0) returns the first group of which ''station'' is a member. | %sng(station, 0) returns the first group of which ''station'' is a member. | ||
− | < | + | <br> |
+ | Also see: [[%sgm]], [[%gns]], [[%ges]].<br>. | ||
+ | <br> | ||
+ | Back to [[Event_Handler#List_of_macros]]. | ||
− | + | [[Category:Event Handler]] | |
+ | [[Category:Event Handler macros]] |
Latest revision as of 08:49, 4 October 2019
%sng( , ) : Event_Handler macro - Station Next Group
Format: %sng(station, group)
Returns the next group after group of which station is a member. Returns '0' if station is not a member of any (more) groups.
- group is group number 1 – 250
- station is Physical_number 0 – 552
%sng(station, 0) returns the first group of which station is a member.
Back to Event_Handler#List_of_macros.