OnStepEnd

Syntax:

OnStepEnd(FunctionName, StepNumber)

Description:

This event occurs each time execution of a task step ends.

NOTE: Line numbers are 0 based within the Task Interpreter (i.e. step 1 inside the Task Builder is step 0 when using this object).

Parameters:

Parameter

Description

FunctionName

The name of the executed function.

StepNumber

The step number (or line number) that just completed. Since line numbers are 0 based, using this object in step 2 (as they appear in the Task Builder's Steps panel) will return step 1 as the step number that just ended.

Example:


Sub Main
MsgBox OnStepEnd()
End Sub


See Also:

Main | OnStepEnd | OnStepError | OnStepStart | OnTaskEnd | OnTaskFailure | OnTaskStart |