Casio Graphical Calculator Encyclopaedia

Token: Locate
Type: IO function
Usage:
 [1] Locate <x>, <y>, "<text>"

 [2] Locate <x>, <y>, <expr>

Definition:

[1] Outputs "<text>" to the text screen, starting from column <x>, row <y>.

[2] Outputs the value of <expr> to the text screen, starting from column <x>, row <y>.


Other information:

The text screen is 21 characters wide and 7 characters high. A syntax error will occur if <x> and <y> are not within these bounds (1 <= <x> < 22, 1 <= <y> < 8). If a non-integer value is supplied it gets rounded down to the nearest integer. If the text starts on the screen but then overflows outside of these bounds when output, the excess will just not be printed and no error will occur.
See also: Text
Return to index
This page was created by Tom Lynn. Comments etc. to: thl22@cam.ac.uk.
This page last updated: Friday, 30 April, 1999

Written in notepad and compiled with WTA, for clean, consistent HTML.

Validate this page with WebTechs  - Validate this page with KGV  - Best Viewed With Any Browser