HaxeFoundation / HaxeFoundation/haxe
[lua] Global Var Args
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
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
```lua
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.
Contributor guide
Assessment
This issue has not been assessed yet.