[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: in-do-end
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 17 Jan 2010 12:32:31 +0200
On Sun, Jan 17, 2010 at 11:30 AM, Eike Decker <zet23t@googlemail.com> wrote:
> with (t)
> function ()
> x,y,z = 1,2,3
> end
> ---
> Or would there be an syntactical problem that I currently don't see?
I think that's the issue: consider the two lines
f = avalue
function g(x)
...
end
If 'function' could appear directly as a function argument, then these
statements would not work as expected.
steve d.