Toms
05-24-2001, 11:07 PM
i know that i can define all my #define constant in a file call .h and
#include it , so , the whole program can use it.
but it seems not work.
my program will call a .prg and in the prg there,
i first set procedure to another .prg , in this prg
i write #INCLUDE ".H"
later , i use createobject to call the main application.
when createobject , it will call another object (environment custom)
which i put all the setting there, finally , the main form show.
but when i want to use the #DEFINE constant in the .h ,
it shows that variable not found.
am i need to put the set procedure to the environment object or
how can i make the .h work
Thanks a lot
Toms
#include it , so , the whole program can use it.
but it seems not work.
my program will call a .prg and in the prg there,
i first set procedure to another .prg , in this prg
i write #INCLUDE ".H"
later , i use createobject to call the main application.
when createobject , it will call another object (environment custom)
which i put all the setting there, finally , the main form show.
but when i want to use the #DEFINE constant in the .h ,
it shows that variable not found.
am i need to put the set procedure to the environment object or
how can i make the .h work
Thanks a lot
Toms