drawText
procedure drawText(text: string, xPos, yPos: integer);
Draws the text 'text' to the display buffer. The 'xPos' and 'yPos' are coordinates of the upper left corner of the text-bounding box.
begin
setColor(255, 0, 0);
drawText('Hello world', 0, 0);
repaint;
delay(1000);
end.
See also: getStringWidth, getStringHeight, setFont, setDefaultFont, setColor, repaint