cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

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

Andyon98
Level II

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