Dialog Compile Error

Appears When

You check/run/stow a dialog, the compiler finds an error in the dialog's generated code, and you select "Edit" in the "Error" dialog box.

Purpose

Describes the error and lists the line of generated code together with the line number. If you press the OK push button, the section of the dialog appears where the compiler has located the error.

If you have saved your dialog sources in non-enhanced format and the enhanced listing option is enabled, any Natural error message will contain an incorrect line number. To ensure that you get the correct line number, disable the enhanced listing option. As under Natural for Windows and Linux, dialog sources are always saved in enhanced format, this line number inconsistency does not exist.

Start of instruction setTo disable enhanced dialog list mode

  • From the "Options" menu, choose "Enhanced dialog list mode".

    The menu item no longer has a check mark. This indicates the option is disabled.