repaint


procedure repaint;

Repaints the device display. All drawing functions (such as drawLine, drawText, fillRect etc.) do not draw directly to the device display. The drawing functions draw to the off-screen buffer, and the procedure 'repaint' copies the off-screen buffer to the device display. The repainting is a time-consuming procedure so it should be called as rarely as possible.

  begin
    drawText('Hello world', 0, 0);
    repaint;
    delay(1000);
  end.