haxe
haxe copied to clipboard
[lua] Global Var Args
I'm working on a computercraft script, and how it passes arguments is via calling the file with rest args. In lua, you are meant to obtain these via
local args = {...}
Given that within the main function, you can't access global ... (i've tried) it would be nice if you could i.e. add a ...rest to the main function.
apparently Sys.args does this
sanity loss
that's not what Sys.args does
sanity loss