SET ASSERTS Command

Specifies if ASSERT commands are evaluated or ignored.

SET ASSERTS ON | OFF

Parameters

  • ON
    Specifies that Visual FoxPro executes ASSERT commands.

  • OFF
    Specifies that Visual FoxPro ignores ASSERT commands. (Default)

Remarks

If you choose the Ignore All button in the message box following an assert, SETASSERTS is set to OFF.

See Also

Concepts

Debugging Before Bugs Exist

Reference

ASSERT Command

SET Command Overview

Other Resources

Commands (Visual FoxPro)