Ideas on a goto statement
I have a task that performs numerous steps in an application and at the end I need to perform a validation step. If the validation step fails I need it return to top of the task and perform the steps again. It would not be at the very begginning of the task but say line 20. Is there a way to tell a task to return to a specific line in a task and execute from there? Can you perform a loop until maybe a variable is set to a specific condition?
I don't recall seeing a function like this. If not it might be a nice enhancement and should relatively easy to implement to have basically a goto statement and can input the line number you want the task to execute next.
thanks,
Steve
|