How does Maple's programming language handle conditional statements, such as if?
In Maple, general conditional statements take the following form:
if <condition> then <statement sequence>; elif <condition> then <statement sequence>; else <statement sequence>; fi;
The following procedure illustrates the use of the if
statement:
For more about Maple, see Maple at IU.
For more about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.
This is document afcq in domain all.
Last modified on March 17, 2011.
Last modified on March 17, 2011.







