Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - fg_assert http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                fg_assert

   Usage
   void far fg_assert(char far *string_p, char far *file_p, unsigned  int
   line);

   Description
   fg_assert is called when a program bug is detected (fgdebug.lib  only)
   such  as  a coordinate that is out of range and was not  clipped.  The
   default  function prints an error message to stderr and then exits  to
   DOS.

   The programmer can provide their own replacement for this function. If
   this is done, it should print out the message pointed to by  string_p,
   the  source file name at file_p and the source file line number  line.
   It must not return, it is strongly suggested that it exit the  program
   and return to DOS.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson