APROCINFO( ) Function
| Visual FoxPro 9.0 SP2 |
| APROCINFO( ) Function |
| See Also |
|
Creates an array containing Visual FoxPro language elements contained in a program file.
APROCINFO(ArrayName, cFileName [, nType]) |
Parameters
- ArrayName
-
Specifies the name of the array to be created.
- cFileName
-
Specifies the filename of the program that this function traverses.
- nType
-
Specifies the type of information returned in cArrayName. The following table specifies valid nType values and describes the information returned by each nType value.
nType Description Array Details 0 (default
Populates the array with all document information.
Column1 – Doc View content
Column2 – line
Column3 – type
Column4 – indentation
Indentation is used with preprocessor directives to show nested levels of #IF type statements.
1
Populates the array with only the class definitions in the document.
Column1 – class name
Column2 – line
Column3 – parentclass
Column4 - is OLEpublic
2
Populates the array with only class procedure information (class definition excluded)
Column1 – Doc View content
Column2 – line
3
Populates the array with #define and other preprocessor directives in the document.
Column1 – Doc View content
Column2 – line
Column3 – type
The following table describes the "type" values returned in Column3 for nType values of 0 and 3.
nType Description Define
#DEFINE preprocessor directive
Directive
Other preprocessor directives, such as #IF
Class
Class definition line
Procedure
Procedure, Method or Event
Return Value
Remarks
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