67
<HC>
Home Cursor
Screen Handling & Text
Description
Return the cursor to the top left of the screen
Parameters
None
Modes
All Modes
Notes
This command is a special case of the <CM> Cursor Move command. The vertical position of the
cursor is set such that the currently active font will display normally at the top left of the screen.
For example, with <F1> active <HC> is equivalent to <CM0,0>. Similarly with <F5> active <HC>
is equivalent to <CM4,0> (in Row Mode)
Home cursor is done automatically by commands such as <CS>, <FS>, <CW>, <FW> and setting
any font size
Uses
The <HC> command allows:
•
Any subsequently written text to be easily positioned at the top of the display
•
A starting point for constructing new screens
Example
<SD>
Put the display in a known state
<F2>
Set the font size
<CM7,30>
Cursor down to the bottom of the screen
<WTBottom>
Write out some text
<HC>
Home the cursor
<WTTop left>
Write out some text showing the effect on the cursor of the <HC>
command
Gotchas!
Make sure that the font size is selected before issuing the <HC> command
See Also
CS
Clear Screen
CW
Clear Window
F
n
Font
FS
Fill Screen
FW
Fill Window