Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new window

For information on migrating to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

MVDefined

Sets MVBasic handling of undefined variables system-wide.

Synopsis

[Miscellaneous]    MVDefined=n

Description

This setting defines MVBasic behavior when it encounters a reference to an undefined variable.

  • When 1 (true), if an MVBasic routine references an undefined variable, the system substitutes an empty string for the variable without showing an error.

  • When 0 (false), if an MVBasic routine references an undefined variable, the system generates an error. The default is false.

Examples

MVDefined=1

Range of Values

0 or 1. The default is 0.

Management Portal

On the page System Administration > Configuration > Additional Settings > Compatibility, in the MVDefined row, select Edit and choose true (selected) or false (cleared).

FeedbackOpens in a new window