Page 1 of 1

User-defined variables do not appear to be known is scripts

Posted: Wed Nov 27, 2013 10:57 am
by JohnO
The value of a system-defined variable such as TARGETDIR is available in all scripts. However, the value of variables that I define, only seem to be known in the script that defines them.
Is that correct?
Is there a way to make my variables global in scope?

Regards, John

Re: User-defined variables do not appear to be known is scri

Posted: Thu Nov 28, 2013 10:36 am
by FrancescoT
Dear John,

all variables are "Global Variables" ... so just verify that your variable it is effectively declared before used.

Regards