|
|
||
|
On 23/01/2011 21:04, Dirk Laurie wrote:
while condition do
-- some code
if test then
continue
end
-- more code
end
And what if `continue' is needed from within deeply nested blocks? Even with depth of 2 (as in an example below) there's no simple replacement to it.
while condition do
-- some code
if test1 then
-- more code
if test2 then
continue
end
-- more code
end
-- more code
end
--
Shmuel