lua-users home
lua-l archive

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


> Using the following code, I never see "Goodbye" printed. 
> 
> C:\Users\Mike>lua
> Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
> > require"luacom"
> > e=luacom.GetObject("Excel.Application")
> > _X = newproxy(true)
> > getmetatable(_X).__gc = function()
> >>	e=nil -- or e:Quit()
> >>	print"Goodbye"
> >> end
> ^C

Try ^Z instead of ^C...