Re: [wxlua-users] Modular programming via lua modules

2007-11-30 Thread Hakkı Doğusan
Hi, John Labenski wrote: > On Nov 30, 2007 2:45 AM, Hakkı Doğusan <[EMAIL PROTECTED]> wrote: >> Hi, >> >> (It seems I can post with this mail address) >> >> In unittest you'll see following lines (at ~229): >> >> a = wx.wxRect(1,2,3,4); >> function a.Print(self) return string.format("%d,%d,%d,%d",

Re: [wxlua-users] Modular programming via lua modules

2007-11-30 Thread John Labenski
On Nov 30, 2007 2:45 AM, Hakkı Doğusan <[EMAIL PROTECTED]> wrote: > Hi, > > (It seems I can post with this mail address) > > In unittest you'll see following lines (at ~229): > > a = wx.wxRect(1,2,3,4); > function a.Print(self) return string.format("%d,%d,%d,%d", self:GetX(), > self:GetY(), self:Ge

[wxlua-users] Modular programming via lua modules

2007-11-29 Thread Hakkı Doğusan
Hi, (It seems I can post with this mail address) In unittest you'll see following lines (at ~229): a = wx.wxRect(1,2,3,4); function a.Print(self) return string.format("%d,%d,%d,%d", self:GetX(), self:GetY(), self:GetWidth(), self:GetHeight()) end PrintOk(a:Print() == "1,2,3,4", "Add a new lua f