lua-users home
lua-l archive

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


> But your map functions do have to follow the (i,val) convention

Umm, that's actually not true at all.  For example the following works
just as well:

for word in seq(string.gmatch("aap noot mies wim jet vuur", "%w+"))
(map, string.upper) do
    print(word)
end

Bye,
Wim