John Labenski <[EMAIL PROTECTED]> writes: > > Ok, I've committed the change as you suggested to CVS for all the > PCall functions. > > Test Lua code: > > f = wx.wxFrame(wx.NULL, -1, "Hello") > t = wx.wxLuaGridTableBase() > t.GetNumberRows = function(self) > return 1*x -- this is an error > end > g = wx.wxGrid(f, -1) > g:SetTable(t) > f:Show(true) > > I get this error (as expected): > > Running lua script 'untitled.lua' : Tue Dec 2 00:02:32 2008 > Error: Lua: Error while running chunk > [string "untitled.lua"]:7: attempt to perform arithmetic on global 'x' > (a nil value) > stack traceback: > [string "untitled.lua"]:7: in function <[string "untitled.lua"]:6> > [C]: in function 'SetTable' > [string "untitled.lua"]:11: in main chunk >
I get the same error as expected 1) running 2) running with a console 3) running from my editor 4) debugging in my editor Thank you andre I use Visual Studio Version 9 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users