Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have script that does a lot of other thing, but one of the first things it does is run a diffrent script that set 5 variables using the Set Variable command. This works fine on it's own, but when the variable script is called from inside a diffrent script, it skips all set variable steps.

Do the all set variable steps have to be wihtin the main script?

Posted

See here.

Variables

You could pass the values of the variables via a script parameter to your subscript or use global variables which will retain their values for that particular file.

Posted

Set Variable does work as a subscript, but if the variables are of the $ variety, they will be local to each subscripts. Try using two $$ for the variables to declare them as global to the file.

Posted

Maybe you can post an example file illustrating the problem, or at least screenshots of the scripts.

This topic is 6362 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.