lua-users home
lua-l archive

RE: Lua 5.1 (work6) now available (for loop bug)

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> str = "Hello"
> 
> for c in str do
> print(c)
> end
> 
> And I hung work6 indefinitely. I also watched memory keep 
> growing, I'm assuming, indefinitely also.
Actually, this is more serious than I thought. In Lua 5.0, this works:
mytable = { 1, 2, 3, 4 }
for c in mytable do
 print(c)
end
In Lua 5.1 work 6, it hangs indefinitely...
Maybe I'm doing something wrong... :(
Josh

AltStyle によって変換されたページ (->オリジナル) /