NAME

ASSERT - (MACRO) Calls kjb_abort if argument is false

SYNOPSIS

#include "l/l_sys_lib.h"

Example compile flags (system dependent):
  -DLINUX_386 -DLINUX_386_P4  
   -I/home/kobus/include
   -L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
  -lKJB         -llapack -lblas -lg2c          -lXext -lX11 


void ASSERT(int boolean_expression);

DESCRIPTION

This macro only does something in development code. In production code (i.e. code compiled without -DTEST, this macro evaluates to null. If the argument "boolean_expression" is false, then this macro prints the assertion, together with the file and line number, on standard error. It then calls kjb_abort.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTOR

Kobus Barnard

SEE ALSO

BUFF_GET_ENV , BUFF_GET_USER_ID , BUFF_GET_TEMP_FILE_NAME