sdebug - display debugging information on the screen


sdebug (format [, arg ] ... )

char *format;


This function has the same calling sequence as printf except that there cannot be more than 10 parameters. It displays debugging information on the screen. Sdebug converts the format and args to a string with ftnirps(C-3), moves the cursor to the next to the last line on the screen, and displays the string on the screen. After displaying the message, sdebug waits for the operator to type a single character. After reading the character, sdebug erases the line and returns to its caller.

Sdebug is used for displaying variables and other information from inside the user edit routine. After each message is displayed, sdebug waits for the operator to type a character so that the message can be seen. After a character is typed, the message is erased. The character that is typed in response to a sdebug message is not saved.


ftnirps(C-3), form(C-3),


Since ftnirps(C-3) does not implement floating point conversions, you must convert floating point values first using realtoa(C-3), moneytoa(C-3) or sprintf.

Remember that realtoa, moneytoa, and most other conversion routines return pointers to static data that is overwritten with each call.