Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Running programs:
- shell.run("a", arg1, arg2): runs program named a with two arguments. (Display_1.1)
- programs["func"](): runs function with name func in the table programs. currently input arguements doesn't work (Display_1.1)
- a = assert(loadfile("func"))(): saves the return value of program runc in variable a. input arguments not tested. source:
- http://www.computercraft.info/forums2/index.php?/topic/2153-luaquestion-how-can-i-get-the-return-statements-value-from-another-program/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement