Special cases for waitUntil and exitWith.

This commit is contained in:
Marvin Blum
2015-10-25 15:10:29 +01:00
parent 4848a502bb
commit abda5faff7
9 changed files with 121 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ if !(isNil()(_getunit)) {
if local()(_unit) {
try {
execVM(_unit)(_file);
execVM(_unit)(_file);
} catch {
// do nothing
}

View File

@@ -1 +1,8 @@
var x = !foo();
waituntil(x = x+1; x < 100);
if timeIsOver {
exitwith {
foo();
bar();
}
}