syntax:functions:if
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:if [2021/08/11 14:16] – craigt | syntax:functions:if [2021/08/16 02:42] (current) – [Examples] craigt | ||
---|---|---|---|
Line 4: | Line 4: | ||
\\ | \\ | ||
=====Description===== | =====Description===== | ||
- | This action creates binary decision logic by evaluating the supplied | + | This function evaluates |
\\ | \\ | ||
Line 19: | Line 19: | ||
If() functions can be nested to provide decisions based on more than a single test, and return a value from more than just two choices. | If() functions can be nested to provide decisions based on more than a single test, and return a value from more than just two choices. | ||
+ | |||
+ | Both // | ||
\\ | \\ | ||
=====Examples===== | =====Examples===== | ||
- | if(2+2=4, "Yes it does", "No it doesn' | + | if(2+2=4, "Yes it does", "No it doesn' |
- | if(" | + | |
- | if(rem(4, | + | if(" |
- | if({MyVal}+6=8," | + | |
+ | if(rem(4, | ||
+ | |||
+ | if({MyVal}+6=8," | ||
\\ | \\ | ||
====Nested if()s==== | ====Nested if()s==== |
syntax/functions/if.txt · Last modified: 2021/08/16 02:42 by craigt