Jump to content

Variable and Perform Script


This topic is 5440 days old. Please don't post here. Open a new topic instead.

Recommended Posts

If you set a variable within a script and then use perform script to call another script, does the variable carry it's value through the new script as well?

Link to comment
Share on other sites

... then use perform script to call another script, does the variable carry it's value through the new script

Only within the same file. If the script calls a sub-script from another file, that second script will lose the global variable value (unless you pass it via script parameter). The global variable will again be available to the main script after the sub-script returns control to the main script.

Link to comment
Share on other sites

This topic is 5440 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.