doswitch
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
doswitch [2018/03/04 18:35] – created wolfgangriedmann | doswitch [2018/03/04 18:36] – wolfgangriedmann | ||
---|---|---|---|
Line 26: | Line 26: | ||
case " | case " | ||
.... | .... | ||
- | case " | + | case " |
And also this will not work (compiler error also): | And also this will not work (compiler error also): | ||
< | < | ||
because the value need to be a constant and not a variable. | because the value need to be a constant and not a variable. | ||
If you need more than one value, you can write as well: | If you need more than one value, you can write as well: | ||
- | do switch nValue | + | < |
case 1 | case 1 | ||
case 2 | case 2 |
doswitch.txt · Last modified: 2018/08/20 04:06 by wolfgangriedmann