Mathematica 9 is now available
Student Support Forum
Student Support Forum > General > > "transfer the control after choices"

Post Reply:
Email Address:

Please send email when my message is replied to.

Url (optional):
Message: view original message?
Attachment (optional):
Please answer this:1+1 =

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 >different place 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.