Sub SecondSub
Log("SecondSub started")
'Sleep(2000)
thirdSub
Wait For third_Complete (resp As Int)
resp=resp+1
Log("SecondSub completed"&resp)
CallSubDelayed2(Me, "SecondSub_Complete",resp)
End Sub
Sub thirdSub
Dim resp As Int=1
Log("third started")
'Sleep(2000)
Log("Third completed:"&resp)
CallSubDelayed2(Me, "third_Complete",resp)
End Sub