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]


> - metatables for all types
Having misread the code in lstrlib.c, the first thing I tried (and hoped
would work) was this:
str = "Hello"
print(str[3])
Okay, that's fine. But then I tried this:
for c in str do
 print(c)
end
And I hung work6 indefinitely. I also watched memory keep growing, I'm
assuming, indefinitely also.
Josh

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