in reply to output on top of old output

If you are wanting to print multiple lines and then print over it all the next time, then your best bet is probly with the module term (i think) because it lets you clear the screen.