The following example displays a message box with the text ôStep will be skippedö if step 2 is set to be skipped during execution, and ôStep will be executedö otherwise.
Sub Main
Dim iStepStatus As Integer
iStepStatus = CurrentTask2.GetStepStatus (1)
if iStepStatus = 0 then
MsgBox ôStep will be skippedö
else
MsgBox ôStep will be executedö
End if
End Sub