Synopsis:
term_clear()
Arguments:
NONE
Description: This function clears the current terminal screen and writes spaces to every character location on the screen using the current task's colour as specified by term_colour().
The following code causes the application terminal screen to change colour rapidly..
main
int colour;
while(1)
for(colour=0;colour<16;colour++)
// Set colour
term_colour(colour,colour);
// Fills a rectangle 2 chars smaller that the current colour
term_clear();
// Sleep half a second
sleep(5);
endfor
endwhile
end
Return Value: Returns 0