Assert

This function is a shorthand way of performing a test and displaying an error. If the specified condition is not true, a call to Debug::Stop() will be made.

Syntax

Parameters

Example

#include "Leadwerks.h"

using namespace Leadwerks;

int main(int argc, const char *argv[])
{
Debug::Assert(1==2,"This is an error!");
}