User Tools

Site Tools


en:actions:actionvariablecondition

Differences

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


Previous revision
en:actions:actionvariablecondition [2021/02/13 11:23] (current) – external edit 127.0.0.1
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]]