Hi Tony,
(fix bugs...)
1) create formx.h for all forms
#INCLUDE "form.h"
#INCLUDE "other.h"
2) create form.h for forms (contain constants only for forms)
#DEFINE __FORM_BASIC 1
3) create other.h (contain others constants)
#DEFINE __OTHER_BASIC 1
4) set for all forms this include file: formx.h
MartinaJ
>Hi.
>I'm using VFP9 SP2.
>I have some constants that I tried to declare
>using #DEFINE. These constants must be used
>throughout my application (forms and procedures).
>The problem with #DEFINE is that the constants are
>only visible within the program that created them.
>How to make some constants, lets say, "PUBLIC"?
>Thanks!