[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: messages within messages
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 26 Dec 1997 11:36:47 -0200
> Oops, I meant to say:
>
> object:methodA():methodB()
The syntax for function calls is <varexp>:name(<params>), where <varexp> is
a simple name, or <varexp>.name or <varexp>[exp]. Unfortunately, it is not
possible to write a generic expression as the function to be called. We have
tried to change that, but we've always got parsing problems. So, the solution
is to use a local temporary variable, as you did.
-- Roberto