User Tools

Site Tools


doswitch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
doswitch [2018/03/04 18:35] – created wolfgangriedmanndoswitch [2018/03/04 18:36] wolfgangriedmann
Line 26: Line 26:
 case "english" case "english"
 .... ....
-case "german"</code>.+case "german"</code>
 And also this will not work (compiler error also): And also this will not work (compiler error also):
 <code>case cLanguage</code> <code>case cLanguage</code>
 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+<code>do switch nValue
 case 1 case 1
 case 2 case 2
doswitch.txt · Last modified: 2018/08/20 04:06 by wolfgangriedmann