Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Re: cannot work a "conditional If"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg130579] Re: cannot work a "conditional If"
  • From: debguy <johnandsara2 at cox.net>
  • Date: Tue, 23 Apr 2013 00:04:44 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <kl2nvh$2dg$1@smc.vnet.net>

but you posted the answer didn't you?

    If[{-1.96861} > 3, 10, 6]

does not work

    If[{-1.96861}[[1]] > 3, 10, 6]

works



  • Prev by Date: Sparse Array Question
  • Next by Date: Generalised Hough Transformation
  • Previous by thread: Re: cannot work a "conditional If"
  • Next by thread: Sparse Array Question