lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

well, it's correctly documented, so it was my fault.
What about a simple line showing the signature of each
tag method before the sample implementations?


  Michael

> -----Original Message-----
> From: owner-lua-l@tecgraf.puc-rio.br
> [mailto:owner-lua-l@tecgraf.puc-rio.br]On Behalf Of Luiz Henrique de
> Figueiredo
> Sent: Tuesday, September 25, 2001 17:16
> To: Multiple recipients of list
> Subject: RE: get/setglobal
>
>
> The manual describes what happens when a global variable is
> assigned, which
> is exactly what happens when the "setglobal" *function* is called.
> The code given is a sample implementation of the "setglobal" *function*;
> embedded in it is the semantics of the "setglobal" *tag method*, which has
> a different signature. The confusion comes from this: the code is not for
> a sample "setglobal" *tag method* but for the "setglobal" *function*.
>
> Sorry about that. We'll have to see how the manual can be improved.
> Suggestions welcome.
> --lhf
>