Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathcad Doubt

  1. Jan 15, 2007 #1
    Am trying to locate forums for MAthcad programming but unable to find.
    I want to put the following statements in mathcad but am getting a "placeholder" befor the if statement.Please please help, what is the error???

    bill(usage):= |if (usage)=7

    | indicates "Add Line"
    "=" is a Boolean operator.

    please help
  2. jcsd
  3. Jan 17, 2007 #2
    instead of "=", try "==". = usually sets somthing to a variable, == compares them.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook