[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: expression to the left of `:'?
- From: Dave Gordon <dgordon@...>
- Date: Tue, 11 Apr 2000 21:22:54 +0900
On Mon, Apr 10, 2000 at 02:19:27PM -0300, Roberto Ierusalimschy wrote:
|
| This is the price we pay for having the semicolon optional after a
| statement. [...]
Thanks for the very clear explanation. Makes sense now.
The best workaround I've thought of so far is to use an identity
function to change an expression into an acceptable form for a `:',
like this
m3 = I(m1 * m2):invert()
where I is
function I(arg) return arg; end
Anyway, it avoids having to assign sub-expressions to temporary
variables.
Dave
--
Algorithmic Arts Inc., Tokyo, Japan
www: http://www.algorithmic.com/