Is it possible to create a file of function(s) and then refer to that file from within another script file to run those function(s)? I am trying to re-use function code within multiple scripts.
Thank you. The .myfuncfile works as long as I don't declare the code as a function. The 'source myfile' sends an error of 'source: not found'.
I basically want to have a file with multiple functions decalared where I can any function from a seperate script file. Such as this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.