lang • assert

ASSERT

ASSERT Expression [ PRINT ... ] ASSERT Expression [ ERROR ... ]

Since 3.12.3

Check that Expression is TRUE, and if the Expression is FALSE, an uncatchable "Assertion failed" error is raised, the PRINT or ERROR instruction is executed, and the program stops immediately.

See also