Use TITLE and TEXT to Messages may be written with the TITLE and TEXT commands. The TITLE
display messages. command is the easiest way to write text. TITLE automatically places the pen down and positions text in the title line, located at the top of the display. The following example writes a message. Delimiters ($) mark the beginning and end of the message and must be dierent from any characters in the message. For a complete list of valid delimiters, refer to the \Syntax Diagram Elements" table in the introduction to Chapter 7. To erase the title, execute IP or TITLE$$ . Executing CLRDSP does not erase the title line.
The TEXT command places messages (up to 35 characters) anywhere on the display. Use PA to position the pen, then use PD to place the pen down. (TEXT does not work after DWINDOW ON is executed.)
Use escape characters You can enhance any text you write on the screen by using the following
to enhance text. control and escape characters. Place these codes and characters within the label functions, or with any function that denes a string of text between delimiters, such as TITLE, TEXT, KEYDEF, or ACTDEF programming commands. Use the following codes to position the pen, clear or move text, or sound a beep.
|
| Control Codes |
|
|
|
ASCII Code | Function | Description |
7 | beeper (B L) | Sound beep . |
|
|
8back space (B S) Move pen back b y one character width.
12 | form feed (F F) | Clear | line | of text, then move pen to left side of | line . | ||
|
|
|
|
|
|
| |
13 | carriage return (C R) | Move pen | to left side of | displa y, to | beginning | of line . | |
|
|
| functions listed | in following | tables. |
| |
27 | escape (EC) | Use | with |
|
In the following table, ECY, turns on the