83Plus:Basic:Graphics:Text(

From WikiTI
Revision as of 14:34, 7 October 2006 by Burntfuse (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Synopsis

Token size: 1 byte

Syntax: Text([-1,]y,x,value)

Draws text on the graph screen.

Outputs:

value will be displayed at x,y in the small font. If the -1 is included, the large font will be used instead. As with the other text-drawing commands, value can be a string, a list, a variable, or a matrix.

Comments

  • If the string does not fit on the screen, the extra characters will be cut off.
  • x and y are measured in pixels, not characters (unlike Disp or Output).
  • The text will also be copied to the graph buffer.

Examples

:Text(3,4,"This is in small font.")
:Text(-1,4,3,"This is in BIG font.")