Inserting a Statement

You can insert statements by the command Insert Statement.

Note: The statements are not complete, they define the structure, but you must add the content.


Before you begin: To use the command Insert Statement, you must be in any of the following:
See Also
About Displaying and Editing Modelica Text
  1. Put the cursor where you want to insert the type, right-click and pause over Insert Statement.
    The following alternatives appears:
    • if ... end if
    • for ... end for
    • while ... end while
    • when ... end when
    • when ... elsewhen ... end when
    • if ... then ... else
  2. Click the wanted alternative.
    The corresponding code is inserted, to be completed by you.