Indenting Commands

To improve the Edit window's readability, PC-DMIS automatically performs an indent inside of supported code blocks, loops, and flow control pairs. This occurs whenever you insert these types of commands into the Edit window.

Summary mode uses a fixed indent value. Command mode and DMIS mode use a two-character default for the indent. You can modify the number of spaces with the EWGroupIndent entry in the PC-DMIS Settings Editor.

This shows a list of commands that support indenting:

Supported Commands

 

The following examples show how nested indents appear in each Edit window mode (Summary mode, Command mode, and DMIS mode):

Summary Mode Example

Command Mode Example

Dmis Mode Example

The Edit window can display a maximum of 256 characters on a single line, including white space. This means many levels of nested commands can push the innermost commands so far to the right that the Edit window cannot display their text.