Fix for loop that uses iterator

This commit is contained in:
James Roseborough
2007-06-16 02:47:47 +00:00
parent 4fb619fe87
commit a9c72414d1
4 changed files with 10 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
LUA_HOME=/cygdrive/c/programs/lua5.1
TESTS="test1 test2 test3 test4 test5"
TESTS="test2"
TESTS="test5"
for x in $TESTS
do
echo compiling $x

View File

@@ -1,3 +1,4 @@
i = 777
while i<780 do
print(i)
@@ -13,4 +14,7 @@ end
for count = 336,330,-2 do print(count) end -- numerical iteration
for key,value in pairs({a=10, 3.14159265358, c="banana" }) do print(key, value) end
for key,value in pairs({a=10, 3.14159265358, c="banana" })
do
print(key, value)
end

Binary file not shown.