cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Andyon98
Level II

Returning to original script from which you called a function from in another file.

I have one script to where I want to run code in another file by using:

 

Include("PATH");

 

How can I return to the original script and continue with running the code?

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: Returning to original script from which you called a function from in another file.

When you fall off the end of the included code, the include function will return the value of the last statement executed.
Craige

View solution in original post

1 REPLY 1
Craige_Hales
Super User

Re: Returning to original script from which you called a function from in another file.

When you fall off the end of the included code, the include function will return the value of the last statement executed.
Craige