Automatically Completing Statements
When editing a source file, Xpress Workbench automatically inserts the closing tag for a typed statement.
Complete the following steps to autocomplete a statement:
- Begin typing the name of a statement. The Xpress Workbench IDE displays a list of words that begin with the characters you typed.
- Use the cursor keys to select the statement that you wish to autocomplete.
- Press Enter or Tab—the statement is added to the Mosel file.
![]() |
Tip Press
Tab while the modifying the statement to navigate into the next editable area in the statement.
|
Xpress Workbench will autocomplete the following Mosel statements:
- model/end-model
- package/end-package
- parameters/end-parameters
- declarations/end-declarations
- record/end-record
- requirements/end-requirements
- initializations/end-initializations
- forall do/end-do
- while do/end-do
- do/end-do
- repeat/until
- if/then/else/end-if
- case/end-case
- procedure/end-procedure
- function/end-function