Posted 14 March 2014 - 09:34 PM
Hello pros!
Today, for the use of pcall, I was trying to take a file, such as "startup" and take all the code from it and put it into a function.
So, for example purposes, could someone give me some code to take all the code from "startup", make that code into a function which can be used in the running program with pcall?
I am not asking to be spoon fed, just for some help.
Is there any way to do this?
Today, for the use of pcall, I was trying to take a file, such as "startup" and take all the code from it and put it into a function.
So, for example purposes, could someone give me some code to take all the code from "startup", make that code into a function which can be used in the running program with pcall?
I am not asking to be spoon fed, just for some help.
Is there any way to do this?
Edited on 14 March 2014 - 08:35 PM