ProgramsCount Property (AApp)

Returns the number of program objects in the application.

Syntax

[ 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.

Example

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

Applies to

AApp

See Also

Programs