>What is difference betwen variables (LOCAL, PRIVATE, PUBLIC) and PARAMETERS?
The Local variables and variable arrays can be used and modified only within the procedure or function in which they are created. They are initialized to false (.F.).
The Private command hides specified variables or arrays that were defined in a calling program from the current program. It doesn't create variables. The private variables are visible within the procedure or function in which they are created and all called progam/functions.
The public variables in general all visible thru the application an initialized to false (.F.).
The PARAMETERS statement declares parameters as PRIVATE.
The LPARAMETERS statement declares parameters as LOCAL.
--sb--