How do you define and initialize a global variable?
Posted: 03 Jan 2016 06:26
I assumed that global variables are defined immediately under the "Project" heading at the top of the project hierarchy. Also, I assumed that the blue numbers next to them are the initial values. If so, then in the attached image, all the names with green dots next to them are global variables, correct?
And the blue numbers are the initial values, correct?
I have a bug where the global variable "sendLibrariesCC" is not being read correctly by a script (if it is, in fact, a global variable...). I set the value in one script, then another script executes with an "if" statement dependent upon the value of that variable. However, the script is not executing properly given the state of the variable. So I'm just trying to confirm that I do, in fact, have a global variable. If the variable is not global then that could explain the behavior.
I can't find this info in the manual.
Thanks,
rgames
And the blue numbers are the initial values, correct?
I have a bug where the global variable "sendLibrariesCC" is not being read correctly by a script (if it is, in fact, a global variable...). I set the value in one script, then another script executes with an "if" statement dependent upon the value of that variable. However, the script is not executing properly given the state of the variable. So I'm just trying to confirm that I do, in fact, have a global variable. If the variable is not global then that could explain the behavior.
I can't find this info in the manual.
Thanks,
rgames