By default, assertions are enabled but they may have been disabled using the SET ASSERT ENABLED command.
Por defecto, las aserciones están activas pero pueden haber sido desactivadas utilizando el comando SET ASSERT ENABLED.
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.
Es posible activar o desactivar globalmente todas las aserciones de una aplicación (por ejemplo de acuerdo al tipo de versión) vía el comando SET ASSERT ENABLED.
Description The SET ASSERT ENABLED command can be used to disable or re-enable any assertions inserted into the 4D code of the application.
Descripción El comando SET ASSERT ENABLED se utiliza para desactivar o reactivar las aserciones insertadas en el código 4D de la aplicación.
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.
Si la expresión es falsa y si las aserciones están activas (ver el comando SET ASSERT ENABLED), se genera el error -10518, exactamente que para el comando ASSERT.
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.
Por lo general, el comando SET ASSERT ENABLED puede utilizarse en el método base On Startup para activar o desactivar aserciones en función de si la aplicación está en modo "Prueba" o en modo "Producción".
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.