User Tools

Site Tools


en:actions:actionvariablecondition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:actions:actionvariablecondition [2016/10/09 09:10]
en:actions:actionvariablecondition [2020/02/09 13:26] (current)
Line 1: Line 1:
 +====== Variable condition ======
  
 +This action allows you to compare the value of a variable to another variable or fixed value. Depending on the result the execution can jump to another line or label. This action represents the base of all conditional instruction. This action works with numerical or text values.
 +
 +===== Standard parameters =====
 +==== Input parameters ====
 +== Variable == 
 +The variable to test.
 +== Condition ==
 +The condition to check. Standard operators are:
 +  * Equal ( = )
 +  * Different ( != )
 +  * Smaller than ( < )
 +  * Greater than ( > )
 +  * Smaller or equal than ( <= )
 +  * Greater or equal than ( >= )
 +  * Contains [//Added in Actionaz 3.8.0.//]
 +== Value ==
 +The variable or the fixed value to use for the comparison.
 +== If true ==
 +The action to take if the result is true.
 +== If false ==
 +The action to take if the result is false.
 +===== Exceptions =====
 +
 +  * [[en:​actions:​exceptions#​Bad parameter|Bad parameter]]
 +  * [[en:​actions:​exceptions#​Code error|Code error]]
 +  * [[en:​actions:​exceptions#​timeout|Timeout]]