export variable [, variable ... ] ;
Declares that variable can be exported and accessed by other scripts. You must place
this at the end of your global script. You can export many variables with one export
line.
For example:
export my_variable;
export counter, strength;
This exports three variables - my_variable, counter and strength.
|