Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

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



  • Prev by Date: Updated my RootSearch package
  • Next by Date: Re: Install Issue with Ver 5.2 WinXp
  • Previous by thread: Re: Problem with multiple function calling from a novice...
  • Next by thread: Re: Problem with multiple function calling from a novice...