my creates a block-scoped variable, while you need to create (using vars or our, as already suggested) a package-scoped variable (available in the symbol table), so it actually can be exported.
Read Coping with Scoping for more information on this topic.
In reply to Re^3: global variables defined in an external file
by aitap
in thread global variables defined in an external file
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |