mirror of
https://github.com/Kugelschieber/asl.git
synced 2026-01-18 12:00:25 +00:00
Special cases for waitUntil and exitWith.
This commit is contained in:
@@ -34,7 +34,7 @@ if !(isNil()(_getunit)) {
|
||||
|
||||
if local()(_unit) {
|
||||
try {
|
||||
execVM(_unit)(_file);
|
||||
execVM(_unit)(_file);
|
||||
} catch {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@@ -1 +1,8 @@
|
||||
var x = !foo();
|
||||
waituntil(x = x+1; x < 100);
|
||||
|
||||
if timeIsOver {
|
||||
exitwith {
|
||||
foo();
|
||||
bar();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user