syntax:functions:when
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
syntax:functions:when [2016/06/08 00:19] – created dmitry | syntax:functions:when [2021/08/28 21:17] (current) – [See also] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | Category: | ||
- | Returns | + | \\ |
+ | =====Description===== | ||
+ | This function returns | ||
- | ^ Example | + | This function is effectively a shorthand version of '' |
- | | when( 2 + 2 = 4, 'Makes sense' | + | |
- | | when( 1 + 1 = 4, 'Makes sense' | + | |
+ | \\ | ||
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |condition|Expression|This is an expression or " | ||
+ | |expression|Expression|Any expression.| | ||
+ | |||
+ | **Return value type:** Text, Number, Boolean (the value type of the returned value from // | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | when([FieldA] = 10, ' | ||
+ | |||
+ | when([FieldA] = 10, ' | ||
+ | |||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: |
syntax/functions/when.1465359570.txt.gz · Last modified: 2016/06/08 00:19 by dmitry