GetStepStatus Example

 

The following example stores the current status of the second step of the task and displays a message box with the result. A ô0ö result means the step is inactive, while a ô1ö result means it is active.

 

Sub Main

 Dim Status As Integer

 

 Status = CurrentTask.GetStepStatus (1)

 MsgBox Status

End Sub