You can use the consoleLib.displayAtPosition() system function to display a string at a specified location within the active window. If you call the function with a variable set to NULL (or ""), then the effect is to clear the contents of the entire row; see the example later in this topic.
consoleLib.displayAtPosition(
text STRING in,
line INT in,
column INT in)
The following code does not display the character at row 1, column 50 because the subsequent call to displayAtPosition() with a NULL variable on the same line clears the remainder of the whole row.
t UNICODE(10);
displayAtPosition( "[" , 1, 1);
displayAtPosition( "]" , 1, 50);
t= NULL;
displayAtPosition( t , 1,2);
t UNICODE(10);
displayAtPosition( "[" , 1, 1);
t= NULL;
displayAtPosition( t , 1,2);
displayAtPosition( "]" , 1, 50);