GetStepStatus Example

 

The following example displays a message box with the text 鉄tep will be skipped if step 2 is set to be skipped during execution, and 鉄tep will be executed otherwise.

 

Sub Main

 Dim iStepStatus As Integer

 

 iStepStatus = CurrentTask2.GetStepStatus (1)

 

 if iStepStatus = 0 then

  MsgBox 鉄tep will be skipped

 else

  MsgBox 鉄tep will be executed

 End if

End Sub