|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
Evaluates the given condition in a debug build. If the resulting evaluation is false, then ASSERTcalls DbgAssertto handle the assertion failure. DbgAssertcan return to its caller later, if the user so desires.
ASSERT( cond );
Here are two examples of ASSERTcalls:
ASSERT( First != NULL); ASSERT( StartTime <= EndTime);