MathGroup Archive 2010

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

Search the Archive

Re: if with two conditions

Logical operators are && for AND and || for OR etc. Just string your logic together:

If[a>b && a>0, ...]

The documentation is your friend and will list all logical operators.

  • Next by Date: Export a vector
  • Next by thread: Export a vector