RuntimeAsserts

Examples


This setting allows dialog boxes generated by the assert statement to be displayed when an application is being run with the runtime engine.

Syntax

RuntimeAsserts = option

Parameters

option - A boolean indicating whether assert statement dialog boxes will be displayed:

[spacer]

Value

Description

TRUE

Forces the runtime engine to display a dialog box for any assertion that fails.

FALSE

Suppresses display of assertion dialog boxes when an application is running. False is the default setting.


Comments

Ordinarily, the dialog box indicating an assertion failed will not be displayed when the application is running with the runtime engine. Adding the RuntimeAsserts=TRUE setting to the defaults file forces the runtime engine to display a dialog box for any assertion that fails.

Use this setting only when testing your application with the runtime engine. Since assertion dialogs should not be seen by users, and some overhead is involved in evaluating them, we recommend that you don't include this setting in the defaults file you ship to customers.

When an application is running in test mode, this setting has no effect on whether dialog boxes will be displayed when an assertion fails. If you wish to display such dialog boxes when an application is running in test mode, choose Show Debug Messages from the Debug menu.


Documentation Feedback