The 'vararg' feature in Lua allows functions to address an infinite amount of arguments passed to it.
For example, the math.min() and math.max() functions accept an infinite amount of arguments, whereas the simple MIN() and MAX() in PICO-8 only allow two arguments.
This code example is based on this GitHub comment:
https://github.com/NLua/NLua/issues/220#issuecomment-286056182
masternama
|
Awesome!
|
masternama
|
Wow! @StinkerB06 what's TIC-80 computer hardware?
|
masternama
|