Write, Bureaucrats, Administrators
4,332
edits
mNo edit summary |
mNo edit summary |
||
Line 100: | Line 100: | ||
|- | |- | ||
| '''switch''' || expression<br/> value/result pairs<br/> default result || the final result based on selecting among the paired results to identify the paired value (or else the default value) to be used.<br/>For example, switch(#{count}, 1, 'One', 2, 'Two', 'Many') | | '''switch''' || expression<br/> value/result pairs<br/> default result || the final result based on selecting among the paired results to identify the paired value (or else the default value) to be used.<br/>For example, switch(#{count}, 1, 'One', 2, 'Two', 'Many') | ||
|} | |||
== Link to Entry == | == Link to Entry == |