Switch
Use the first value where the associated expression is valid.
Usage:
Switch( Expr1, Value1, Expr2, Value2,... )
Returns:
Value1 or Value2
Examples:
switch(false,3,true,5) // returns 5 switch((1=2),3,(1<2),5) // returns 5
Use the first value where the associated expression is valid.
Switch( Expr1, Value1, Expr2, Value2,... )
Value1 or Value2
switch(false,3,true,5) // returns 5 switch((1=2),3,(1<2),5) // returns 5
© Copyright 1996 - 2025, i-net software GmbH; All rights Reserved. Imprint