Print debug message - debMsg ()

This function prints a dialog box containing a debugging message. Because you can't perform normal screen I/O under Windows or Windows NT, Embed provides debMsg to display information pertaining to the variables for your userFunction block's function. The format is identical to the C printf() function. Since this function allows an arbitrary number of arguments, it must be called using the C language convention. To call it from Fortran or Turbo Pascal, for example, you must declare it as C language code. Embed displays the output string in a standard dialog box that contains a Retry, Ignore, and Abort button. Press Retry or Ignore to continue the simulation. Press Abort to cancel the simulation.

EXPORT32 int CDECL EXPORT debMsg P((char LPSTR fmt , ... ));