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

• To: mathgroup at smc.vnet.net
• Subject: [mg58593] Re: [mg58586] Problem with multiple function calling from a novice...
• From: Bob Hanlon <hanlonr at cox.net>
• Date: Sat, 9 Jul 2005 04:07:53 -0400 (EDT)
• Sender: owner-wri-mathgroup at wolfram.com

```If[True, {a=1,b=2,c=3},{a=2,b=4,c=6}]

{1,2,3}

If[False, {a=1,b=2,c=3},{a=2,b=4,c=6}]

{2,4,6}

Bob Hanlon

>
> From: "sami" <sami.amiris at gmail.com>
To: mathgroup at smc.vnet.net
> Date: 2005/07/08 Fri AM 12:46:19 EDT
> Subject: [mg58593] [mg58586] Problem with multiple function calling from a novice...
>
> 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
>
>

```

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