Actions

Difference between revisions of "%syspar"

From Zenitel Wiki

 
Line 1: Line 1:
{{A}}  
+
{{AI}}  
  
 
The '''%syspar''' macro is used in the [[Event Handler]] to read and write the state of a global system parameter (currently only flags true/false 0/1)<br>
 
The '''%syspar''' macro is used in the [[Event Handler]] to read and write the state of a global system parameter (currently only flags true/false 0/1)<br>

Latest revision as of 09:50, 4 October 2019

AI.png

The %syspar macro is used in the Event Handler to read and write the state of a global system parameter (currently only flags true/false 0/1)


Syntax Read

%syspar(parameter)
parameter is the name of the parameter

Return 1/0 dependent of the current state


Examples

IF %syspar(block_reset)
  LOG "Node is in blocked reset state"
ENDIF



Back to Event_Handler#List_of_context_parameters.