By default, assertions are enabled but they may have been disabled using the SET ASSERT ENABLED command.
Assertionen sind standardmäßig aktiviert, außer sie wurden über den Befehl SET ASSERT ENABLED deaktiviert.
Description The SET ASSERT ENABLED command can be used to disable or re-enable any assertions inserted into the 4D code of the application.
Beschreibung Der Befehl SET ASSERT ENABLED ermöglicht, jede in den 4D Code der Anwendung eingefügte Assertion zu deaktivieren oder wieder zu aktivieren.
If the expression is false and if the assertions are enabled (see the SET ASSERT ENABLED command), the error -10518 is generated, exactly as for the ASSERT command.
Ist der Ausdruck falsch und sind die Assertionen aktivert (siehe Befehl SET ASSERT ENABLED), wird der Fehler -10518 generiert, wie beim Befehl ASSERT.
It is possible to globally enable or disable all the assertions of an application (for example according to the type of version) via the SET ASSERT ENABLED command.
Über den Befehl SET ASSERT ENABLED können Sie alle Assertionen einer Anwendung (z.B. gemäß dem Versionstyp) global aktivieren oder deaktivieren.
Typically, the SET ASSERT ENABLED command could be used in the On Startup database method in order to enable or disable assertions according to whether the application is in "Test" mode or in "Production" mode.
Eine typische Verwendung ist in der Datenbankmethode On Startup. Hier lassen sich die Assertionen aktivieren bzw. deaktivieren, wenn die Anwendung im Testmodus bzw. im Designmodus ist.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.