define variable foxpro
SUMMARY. Ths article describes how variables are defined (declared) in FoxPro. A variable in FoxPro can have one of three attributes: Public, Private, or Hidden. Create a variable in the Command window. 2  Any variable created in the Command window is automatically declared public. 3  For example, from the Command window, type X=1000. 4  The variable X is now public to all applications.