debugging
- Posted by 10963508 at europeonline.com Jul 19, 2002
- 390 views
It would be good if we could be able to find out if type_check is on or off, like a debug variable. something like: if type_check then ... do debugging checks end if Also, assert() statement would be usefull: assert (debug_function ()) if type_check would would be on above statement would be evaluated else it would get skipped and also debug_function () wouldnt be executed. I use my own assert () procedure but will have to write preprocessor to remove assert() calls if I want maximal speed.