A wise man once told me he'd recommend using ini files over globally named variables 99% of the time, he was correct.
Use that to set your values instead, they're very easy to deal with once you've gotten started.

Here's the syntax:
Writeini Example.ini Section Item Value
Turns out like this:
Example.ini
[Section]
Item=Value
-
To get the value you use $readini. Syntax:
$readini(Example.Ini,Section,Item) which will return: Value
Use the helpfiles for further reference. You won't regret it.