lua-users home
lua-l archive

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


On Tue, Dec 22, 2009 at 5:25 PM, Timothy Baldridge
<tbaldridge@gmail.com> > proc ! ["write", "foo"]
>
> and makes more sense....or at least:
>
> proc.send(["write", "foo"])
>
> So I guess functions could work....but I still think the Erlang method
> is cleaner.

Apologies for the empty message; what I meant to say was simply:

proc {"write","foo"}

which is easy if we make proc callable.  Alternatively, since I'm
assuming write is a message on a remote object, then why not:

proc:write "boo"

(This is also not difficult)

steve d.