Comparison operators
if (condition) then
else
end_if;Allows you to control the execution of code through the testing conditions.Condition must contain 2 variables or constants with one of the following comparison operators:
- = true condition if variables are equal
- <> true condition if variables are different
- > true condition if variable 1 is bigger then 2
- < true condition if variable 1 is smaller then 2
- >= true condition if variable 1 is bigger or equal to variable 2
- <= true condition if variable 1 is smaller or equal to variable 2
- ! (or NOT) negates condition