Re: Help with concatenating a list with &&
- To: mathgroup at smc.vnet.net
- Subject: [mg102213] Re: Help with concatenating a list with &&
- From: ADL <alberto.dilullo at tiscali.it>
- Date: Sat, 1 Aug 2009 04:02:11 -0400 (EDT)
- References: <h4uet9$inv$1@smc.vnet.net>
Jane, If you write:
FullForm[ex1 && ex2] you get: And[ex1,ex2]
This means that you have to type:
And @@ {ex1, ex2, ex3, ex4}
to get what you want.
ADL
On Jul 31, 11:52 am, janey <janemk... at gmail.com> wrote:
> Can anyone help me make better use of mathematica's built in commands?
>
> My problem is to take the list of expressions ls:
>
> ls={ex1, ex2, ex3, ex4}
> and connect them to obtain
> ex1 && ex2 && ex3 && ex4
> ...
> Thanks,
> Jane.