lua-users home
lua-l archive

Re: Yet another proposal for <toclose> (was Re: [ANN] Lua 5.4.0 (alpha) now available)

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


> Why we need extra functionality if it could be done with existing one?
> 
> [...]
> local f=auto(io.close){ io.open "foobar" } -- will be closed
It won't, if the table creation raises a memory error.
-- Roberto

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