Assert
Assert

Checks a condition, and if FALSE, displays a message.

bOK = myDebug.Assert( Condition, Message )

Return value
The result of the condition as a boolean (TRUE or FALSE)

Parameters
  • Condition
    The condition to check
  • Message
    The message to display if Condition is FALSE
Comments

The message shown at runtime allows the user to stop the program, continue, or continue and hide all future assert messages. ResetAssert can be used to force a new message to appear even if the user has chosen to hide all messages, to allow important messages to be received.

See also
Debug:Message
Debug:ResetAssert



JAM © 2005 no one in partiular
Project started by David Evans in 2005