The break Statement
When the break statement is executed, the result is to exit from the innermost repetition (for/while/do) statement within which it occurs.
After exit, execution proceeds, with the first statement following the repetition statement.
It is an error if a break is executed in a context other than within a repetition statement.
In Maple V Release 5.1 and earlier, break was just a Maple symbol. In Maple 6 and later, break is a keyword in the Maple language.
L ≔ 1,2,abc,a,7.0,∞:
forxinLdoiftype⁡x,'string'thenprint⁡x;breakend ifend do
Download Help Document
What kind of issue would you like to report? (Optional)