|Original Message (ID '177506') By Michael:|
|In Response To 'Re: Re: transfer the control after choices'
>I basically want to transfer the execution to completely
I'm not sure what you mean. The cases in a Switch are, to me, "different places," that is, not in the Button action. You can always substitute a function call for "Plan A" etc., if you want the code that is to be executed located in a separate cell.
You might look at Input[..], ChoiceDialog[..], etc. for ways to make execution wait on input. If these can't be used to do what you want, then I'm afraid I don't know what to suggest. Is there a way you could post some (pseudo) code that illustrates the sort of flow of control you're seeking? That might help someone find an answer.|