Use of global variables
Posted: Thu Sep 27, 2018 5:44 pm
Hello,
I my VO application I am using some global variables.
For example I have in Xide an application. In the file 'Global Variables.prg' I declare: GLOBAL lShare := FALSE as LOGIC.
In the same application, but another file I am using the global variable lShare.
The compiler gives the error:
Do I have to declare a using directive? And if, what must be the directive name?
Thanks in advance.
Eric
I my VO application I am using some global variables.
For example I have in Xide an application. In the file 'Global Variables.prg' I declare: GLOBAL lShare := FALSE as LOGIC.
In the same application, but another file I am using the global variable lShare.
The compiler gives the error:
error XS0246: The type or namespace name 'lShare' could not be found (are you missing a using directive or an assembly reference?) 8543,18 Database.prg
Do I have to declare a using directive? And if, what must be the directive name?
Thanks in advance.
Eric