The following example sets the second step of the task to a é›»isabled step, meaning it will be skipped when the task is executed.
Sub Main
CurrentTask.SetStepStatus (1, 0)
End Sub