>In Visual Fox how do you reference variables from one method to another? Example: When calling a form I pass a few variables to it using the parameters statement in the init of the form. How would I make those parameters available to other methods and controls in that form? By default they seemed to be local.
The easiest way would be to make them properties of the form, rather than variables. The only memvars that would persist would be globals (PUBLICs) and there are all sorts of funky side effects, on top of being bad OOP in general. Form properties are visisble within the form, and have the necessary persistence and encapsulation you want.