diff options
Diffstat (limited to 'engines/director/director.cpp')
-rw-r--r-- | engines/director/director.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index dd1433b95e..9a5fbabd3e 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -91,7 +91,13 @@ if (x = 5) then\n\ else\n\ set x = 8\n\ end if\n\ -put x", kMovieScript, 3); +put x\n\ +set y = 1\n\ +repeat while (y < 5)\n\ + set y = y + 1\n\ + put y\n\ +end repeat\n\ +", kMovieScript, 3); _lingo->executeScript(kMovieScript, 3); |