Trouble with Mathcad Programming: Need Help With Placeholder Error

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
jrm2002
Messages
54
Reaction score
0
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
|

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

please help
 
Physics news on Phys.org
instead of "=", try "==". = usually sets somthing to a variable, == compares them.