Difference between revisions of "Demo:SwitchStatement7"

From PKC
Jump to navigation Jump to search
Line 1: Line 1:
<nowiki>{{#switch: {{#expr: 4+2+1}}
<nowiki>{{#switch: {{#expr: 4+2*1}}
  | 1 = one
  | 1 = one
  | 2 = two
  | 2 = two

Revision as of 15:29, 18 May 2022

{{#switch: {{#expr: 4+2*1}} | 1 = one | 2 = two | 3|4|5 = any of 3–5 | 6 = six | 7 = {{uc:sEveN}} <!--lowercase--> | #default = other }}