PDA

View Full Version : How to Terminate the Subroutine execution


farrukh
05-12-2003, 01:21 AM
Hi
How can I terminate the execution of subroutines, at some place and before its completion, I wanted to get back to Project Steps.

In similar case, I would like to jump to exit from any place in the steps/subroutines to a place from where I can exit.

Please help

Regards
Farrukh

kinook
05-14-2003, 07:44 AM
There is no 'exit subroutine' capability. What you would need to do is set up build rules on all your subroutine steps (and then trigger the rule when needed) such that any steps after the point where you want to exit the subroutine will get skipped.

pjaquiery
05-14-2003, 03:55 PM
or nest subroutines (and ask for exit to be added in the next version; sure gets my vote!)

farrukh
05-15-2003, 06:50 AM
You are right pjaquiery

I think, following should be added in next release of VBP:

Exit/Terminate from subroutine at any point.
Exit to Project Steps
Jump to other steps in both subroutines and project steps

Thanks for the vote. :-)

farrukhw@yahoo.com