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:
the
Modelica Editor
the
Modelica Script Editor
.
See Also
About Displaying and Editing Modelica Text
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
Click the wanted alternative.
The corresponding code is inserted, to be completed by you.