PRIVATE Command
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.
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08