Syntax
void SetPos( int row, int col );
Arguments
row, col Zero-based row and column. Negative coordinates are treated as zero.
Return value
No return value.
Description
Move the zero-based text cursor to the cell where subsequent `DispOut()` or `DevOut()` output should start. `Row()` and `Col()` report the new position. Negative coordinates are treated as zero. Use `SetCursor()` to change its appearance or visibility.
Example
#include "xdev-wtui.h"
int main( void )
{
SetPos( 2, 5 );
DispOut( "Row 2, column 5", NULL );
Inkey( 0, NIL );
return 0;
}