Returns the number of program objects in the application.
[ lProgramsCount = ] Object.ProgramsCount
The ProgramsCount property syntax has the following parts:
Name |
Type |
Description |
Object |
AApp |
AApp object |
lProgramsCount |
Long |
An integer specifying the number of program objects in the application. |
The following statements list to the TestLog the name of each program in the active project:
for n = 0 to App.ProgramsCount-1
print App.Programs(n).Name
next