Hides specified variables or arrays that were defined in a calling program from the current program. There are two versions of the syntax.
PRIVATE VarList |
PRIVATE ALL[LIKE Skeleton | EXCEPT Skeleton] |
Parameters
- VarList
-
Specifies the variables or arrays to be declared private.
The single letters A through J and M are reserved and cannot be used as variable names.
- ALL LIKE Skeleton
-
Causes PRIVATE to hide all variables and arrays whose names match Skeleton, which can contain the question mark (?) and asterisk (*) wildcards.
- ALL EXCEPT Skeleton
-
Causes PRIVATE to hide all variables or arrays unless their names match Skeleton, which can contain the question mark (?) and asterisk (*) wildcards.
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08