Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Statement Separators
Description
The statement separators in Maple are semicolon (;) and colon (:).
The semicolon is the normal statement separator.
In an interactive Maple session, the result of the statement will not be displayed if the statement is terminated with a colon.
The two statement separators (semicolon and colon) are equivalent in the case of statements nested one or more levels (inside if-statements, do-statements, or procedures).
Statements in 1-D math must be terminated with a semicolon or colon.
Statements in 2-D math may be terminated with a semicolon, but it is not required. If a statement does not end with a semicolon, Maple auto-inserts a semicolon when it parses the statement.
Note: This rule does not apply to statements enclosed in the body of another statement such as an if statement, loop, procedure, module, use statement, or try statement. In these cases, all enclosed statements must be separated by a semicolon or colon.
Important: When exporting a worksheet as Maple Input, your worksheet must contain explicit semicolons and not auto-inserted ones. The resulting exported .mpl file will not run in the Command-line version with auto-inserted semicolons.
Example
one := 0+1:
two := one+1;three:=two+1;
See Also
::, Export as Maple Input, statement
Download Help Document