[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 2nd version: try..catch for Lua, now "finally" supported
- From: David Manura <dm.lua@...>
- Date: Thu, 31 Jan 2008 01:50:47 +0000 (UTC)
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 .