|
|
||
|
while bottle_count ~= 0 do
bottle_count = bottle_take(bottle_count)
end
-- the above works
while true do
bottle_count = bottle_take(bottle_count)
if not bottle_count then break end
end
-- this one does not.
Semantics of Lua `not'? Thx ...
--
Duke
** Bottom-posting, text-only is the netiquette way! **