Functions

QOutF

Start a new line in the text window and write formatted text

Syntax

Signature
void QOutF( const char *format, ... );

Arguments

format printf-style format. NULL is treated as empty text.

... Values for the conversions in format.

Return value

No return value.

Description

Format values with `printf()` conversions and send the resulting text to `QOut()`, which starts a new terminal line. An empty result still advances to a new line. The declaration enables format checking on supported compilers. Use `QQOutF()` to continue the existing line.

Example

qoutf.c
#include "xdev-wtui.h"

int main( void )
{
   QOutF( "Row %d, column %d", Row(), Col() );

   Inkey( 0, NIL );

   return 0;
}