MathGroup Archive 2005

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

Search the Archive

Re: Problem with multiple function calling from a novice...


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