lua-users home
lua-l archive

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


so could I write

> inject "math" sandbox

too?  Does it only work for one parameter functions or is it purely stack
based?

Regards

---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com

"Peter Shook" <pshook@sympatico.ca> wrote in message
3EF9054A.5060208@sympatico.ca">news:3EF9054A.5060208@sympatico.ca...
>
> Dylan Cuthbert wrote:
> > A Lua question, why isn't the syntax inject( "math" )( sandbox )... why
is
> > it inject "math"( sandbox )?
>
> It can be either.  f"string" is sugar for f("string").
>
> - Peter
>
>