GetProgramTasks Procedure

Returns the number of Tasks in the current program.

Syntax

[ lTasks = ] GetProgramTasks ( )

The GetProgramTasks procedure syntax has the following parts:

 

Name

Type

Description

lTasks

Long

Number of tasks

Comments

This function is not supported and is provided only for compatibility with ATEasy 2. In ATEasy, this returns the number of children of the current task, which could be another task.

Example

! execute the last task of this program

Task GetProgramTasks()

See Also

GetTaskTests, Task, Test