Create a global variable from script editor
Moderator: Martin
Create a global variable from script editor
it is possible to create a global variable from the script editor?
Re: Create a global variable from script editor
If you mean to create a global variable from any script action that you use, you can do so as you would create a normal variable, as the only thing that makes a variable, global, is that it needs to start with global_ . So if you want to create a global variable in a script, you can do something like this:
So that will create a global variable called global_example whose value is a string that is example content.
Code: Select all
global_example = "example content";
Re: Create a global variable from script editor
Thank you, that's exactly what I was looking for.