You have many ways to do this, the easiest is
PUBLIC myVariable myValue
Myself I prefer
_screen.addproperty('myVariable','myText')
_screen.addproperty('myVariable',myNumeric)
Or you can create a class and add the properties to that class.
>is a way to create a gobal variable somewhere outside forms, such as in main.prg so that all of my forms can access this variable. I need to set some directory paths, but I don't know where the directories are going to be and it would be much easier to just set it at one location. Is a better solution than this. I'm running vfp8.
>
>thanks
>nick patel