syntax:functions:when
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionLast revision | |||
— | syntax:functions:when [2021/08/28 21:14] – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== When(condition, | ||
+ | Category: | ||
+ | \\ | ||
+ | =====Description===== | ||
+ | This function returns the result of // | ||
+ | |||
+ | This function is effectively a shorthand version of '' | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====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(2 + 2 = 4, 'Makes sense' | ||
+ | |||
+ | when(1 + 1 = 4, 'Makes sense' | ||
+ | |||
+ | when([FieldA] = 10, ' | ||
+ | |||
+ | when([FieldA] = 10, ' | ||
+ | |||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: |
syntax/functions/when.txt · Last modified: 2021/08/28 21:17 by craigt