[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]

Table 2-2. Cursor Control Characters in QUOTE MODE
Control Key Appearance
<CRSR UP>
<CRSR DOWN>
<CRSR LEFT>
<CRSR RIGHT>
<CLR>
<HOME>
<INST>

When you are NOT in quote mode, holding down the <SHIFT> key and then pressing the INSerT <INST> key shifts data to the right of the cursor to open up space between two characters for entering data between them. The Editor then begins operating in INSERT MODE until all of the space opened up is filled.

The cursor controls and color controls again show as reversed characters in insert mode. The only difference occurs on the DELete and INSerT <INST/DEL> key. The <DEL> instead of operating normally as in the quote mode, now creates the reversed T. The <INST> key, which created a reverse character in quote mode, inserts spaces normally.

This means that a PRINT statement can be created, containing DELetes, which can't be done in quote mode. The insert mode is cancelled by pressing the <RETURN>, <SHIFT> and <RETURN>, or <RUN/STOP> and <RESTORE> keys. Or you can cancel the insert mode by filling all the inserted spaces. An example of using DEL characters in strings is:

   10 PRINT"HELLO"<DEL><INST><INST><DEL><DEL>P"
  (Keystroke sequence shown above, appearance when listed below)
  10 PRINT"HELP"

When the example is RUN, the word displayed will be HELP, because the letters LO are deleted before the P is printed. The DELete character in strings will work with LIST as well as RUN. You can use this to "hide" part or all of a line of text using this technique. However, trying to edit a line with these characters will be difficult if not impossible.


[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated November 15, 1998.