[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How metatables could work on this?
- From: Patrick Rapin <toupie300@...>
- Date: Tue, 1 May 2012 19:53:52 +0200
> How can a make this work? ...
I don't really know what you want, but I tried to guess...
If you add an additional comma on line 3, the script runs without error :
self.model():show() => self:model():show()
> local loader = {}
By the way, this initialization is useless, since the 'loader'
variable gets a new value at the next instruction.