Re: Problem with multiple function calling from a novice...
- To: mathgroup at smc.vnet.net
- Subject: [mg58598] Re: [mg58586] Problem with multiple function calling from a novice...
- From: "Jose Luis Gomez" <jose.luis.gomez at itesm.mx>
- Date: Sat, 9 Jul 2005 04:07:57 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello Sami.
>Question 2: How can I modify an If...Then clause of the form:
>
>If[ <Condition> , a;b;c;...etc.]
>so that, again, they ALL show what they evaluate in turn? (Again, not
>just
>the
>last one like in this case).
One possible solution is to make a LIST of the commands. Compare the output
form these two commands:
If[True, a=5; b=a*2; c=b-4]
If[True,{a1=5, b1=a1*2, c1=b1-4}]
Bye!
Jose Luis