Hi, I am currently making a shell for ComputerCraft, and I am currently facing a problem: How do I set the ... to what the shell receives ?
For example:
... = arguments; -- This is not possible, but then how CraftOS did set this ?
local env = { ... };
setmetatable(env, { __index = getfenv() });
local initFn, err = assert(loadfile(path, env));
-- check and run
Thank you and have a nice day, Alex.
Edited by Sixestla (Redall), 03 January 2018 - 11:45 AM.











