lua-users home
lua-l archive

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

On Sun, Jan 31, 2016 at 1:05 PM, Geoff Smith <> wrote:
> The obvious thing I dont like about that is the horrible syntax, I want to
> be able to call something like in Lua.
> How would I go about rejigging that syntax construct ?

In Lua syntax, the way to call an instance method is
objectname:methodname(...) with a colon instead of a dot. (This is
general advice, rather than specific to LuaInterface.)