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: [mg58597] Re: [mg58586] Problem with multiple function calling from a novice...
  • From: Adel Elsabbagh <aelsabbagh at gmail.com>
  • Date: Sat, 9 Jul 2005 04:07:56 -0400 (EDT)
  • References: <200507080446.AAA18354@smc.vnet.net>
  • Reply-to: Adel Elsabbagh <aelsabbagh at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Use 
If[ <Condition> , a;Print[a];b;Print[b];c;Print[c];...etc.]

- Adel

On 7/8/05, sami <sami.amiris at gmail.com> wrote:
> Hi all. I have a small problem, and I would like some help.
> 
> Suppose I define a few functions, say a,b,c etc.
> 
> Question 1: How can I call them from inside a program, so that they
> ALL
> show what they evaluate in turn? (Not just the last one, but each
> one.)
> 
> Question 2: How can I modify an If...Then clause of the form:
> 
> If[ <Condition> , a;b;c;...etc.]
> 
> or a While loop:
> 
> While[ <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).
> 
> Thank you
> 
> Sami
> 
> 


-- 
Adel


  • Prev by Date: Re: Finite differences
  • Next by Date: Re: Problem with multiple function calling from a novice...
  • Previous by thread: Problem with multiple function calling from a novice...
  • Next by thread: Re: Problem with multiple function calling from a novice...