lua-users home
lua-l archive

Re: 2nd version: try..catch for Lua, now "finally" supported

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


Hu Qiwei writes:
> ..I've updated my try..catch patch, now "finally" clause is supported...
John had suggested that a "scoped guard" statement (from the D language) would
be preferable to try/finally. See the discussion in
http://lua-users.org/wiki/ResourceAcquisitionIsInitialization .

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