[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Named function in a table
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 6 Dec 2010 08:16:26 +0200
On Mon, Dec 6, 2010 at 4:41 AM, starwing <weasley.wx@gmail.com> wrote:
> {
> function OnClick(evt)
> print("we are clicked")
> end
> }
It's come up a couple of times but I can't find it in the archives.
It makes sense for a particular kind of object-oriented style (but you
will still have to remember the comma or the semi-colon after the
function)
Out of interest, would this be a major change to the grammar?
steve d.