Re: if with two conditions
- To: mathgroup at smc.vnet.net
- Subject: [mg108784] Re: if with two conditions
- From: dr DanW <dmaxwarren at gmail.com>
- Date: Wed, 31 Mar 2010 05:28:07 -0500 (EST)
- References: <hosi59$o49$1@smc.vnet.net>
You almost had it. If[ And[ a>b, a>0], ...] There are a number of ways to write it If[ (a>b)~And~(a>0), ...], If[ (a>b) && (a>0), ...] Most people like the last one. Daniel