Added while and switch.

This commit is contained in:
Marvin Blum
2015-09-21 17:16:00 +02:00
parent af7a0a9f4c
commit 1f0730b984
7 changed files with 103 additions and 10 deletions

View File

@@ -1,6 +1,9 @@
if (4 < (5+5)/2 || ((3-3)*10-5)) {
hint("hallo welt");
}
else {
hint("no");
var _x = 3;
switch _x {
case 1:
case 2:
somefunc(2);
default:
somefunc(3);
}