select a result given a condition
if(condition, trueresult, falseresult)
The if command tests the given condition and returns trueresult if condition is true or nonzero. Otherwise falseresult is returned.
Note, because if is a recognized keyword in maple, it must be used with backwards-single-quotes around it.
The MapleTA[Builtin][if] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.