| Apps Components Interfaces All Files Source Tree | source: interfaces.Assert.nc |
Expression verification. Using the assert() macro, verification of the current system state can be built-in. This enabled run-time errors to be logged to the console containing info such as file name and line number. Example code: assert(call Module.cmd() == SUCCESS); Example output: assert(call Module.cmd() == SUCCESS) failed at ModuleM.nc:42
Commands |
Commands - Details |