> in vb i can declare a variable in the general declarations section then i can
> use this variable throughout the entire form via different procedures and so
> on i can change the value and everything now in foxpro i know this can be
> done as well but where do i declare the global variable
You can define public variables in any code snippet (such as the INIT), like so:
PUBLIC VarName
BUT: This is very bad design and considered a big no-no in Visual FoxPro. You should rather define custom properties instead.
Markus