Actions

Difference between revisions of "IF/ENDIF"

From Zenitel Wiki

Line 1: Line 1:
{{stub}}
+
IF / ENDIF / STOP Statements
 +
If the text / expression following the IF evaluates to the number zero, or no text at all, the following statements are skipped until a (matching) ENDIF is found.
 +
IF - ENDIF statements can be nested
 +
The statement STOP stops the execution of the action string. Is only useful in front of an ENDIF
 +
Example:
 +
 
 +
 
  
  
 
[[Category:Event Handler]]
 
[[Category:Event Handler]]
 
[[Category:Built-In Action Commands]]
 
[[Category:Built-In Action Commands]]

Revision as of 15:45, 4 April 2008

IF / ENDIF / STOP Statements If the text / expression following the IF evaluates to the number zero, or no text at all, the following statements are skipped until a (matching) ENDIF is found. IF - ENDIF statements can be nested The statement STOP stops the execution of the action string. Is only useful in front of an ENDIF Example: