Next: G.5 Exporting
Up: G.4 Tailoring
Previous: G.4.5 Tailoring the NEMO
If certain portions of NEMO's subroutine library appeal to you,
yet you don't want to drag the whole NEMO library along (this may
not always be possible though) you can isolate them, with probably
the following modifications:
- A call to error must be replaced with
a simple printf followed by exit, since these are
supposed to be fatal errors, and the program should abort.
- A call to warning must be replaced with
a simple printf. no need to exit the program though.
- A call to dprintf must be replaced with
a simple printf, by leaving of the first (integer) argument,
or by totally leaving it out of the code. It is merely a debug-type
printf, and could also be used with an #ifdef debug.
These are all small printf-like routines.
(c) Peter Teuben