Difference between revisions of "%sng"
From Zenitel Wiki
(4 intermediate revisions by 3 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. | ||
Line 10: | Line 11: | ||
<br> | <br> | ||
− | Also see: [[%sgm]]. | + | Also see: [[%sgm]], [[%gns]], [[%ges]].<br>. |
<br> | <br> | ||
− | |||
Back to [[Event_Handler#List_of_macros]]. | Back to [[Event_Handler#List_of_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.