Hello everyone!In AAA.jsl, how do write code that calls another JSL to continue running: for example, this another JSL is BBB.jsl with the same path
When BBB. jsl finished, AAA. JSL continues to run the rest of the code.
thanks you!
Use the
Include();
function.
I strongly advise that you spend time and read the Scripting Guide
Help==>Books==>Scripting Guide
Jim provided the correct answer, but this blog took another turn.
I recommend that you investigate scoping, specifically Names Default to Here() and New Context when working with Include();
Without proper scoping, clear symbols() could lead to unwarranted behavior.
You likely do not need this, but as an FYI, Run Program() can be used to create a new instance of JMP and execute a script or commands, then return to your session. There is no sharing of data or variables.