lua-users home
lua-l archive

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


This is cool, try..catch (or except) is definitely something that
should be in the core.

Does it handle returns from enclosing function properly? (Especially
_multiple_ returns!)

function boo()
  try
     ...
     return 'yes','no','maybe'
  catch err do
     ...
  end
end

steve d.