aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/tests/loops.lingo
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director/lingo/tests/loops.lingo')
-rw-r--r--engines/director/lingo/tests/loops.lingo5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/director/lingo/tests/loops.lingo b/engines/director/lingo/tests/loops.lingo
index e4c5ccefc5..6214461123 100644
--- a/engines/director/lingo/tests/loops.lingo
+++ b/engines/director/lingo/tests/loops.lingo
@@ -20,3 +20,8 @@ end repeat
repeat with y = 5 down to 1
put y
end repeat
+
+repeat while y < 5
+set y = y + 1
+put y
+end repeat