home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_oth / comal.lzh / COMAL / INFOTEXT / KEYS < prev    next >
Encoding:
Text File  |  1991-08-16  |  5.1 KB  |  170 lines

  1. CONTROL KEYS
  2.  
  3. CTRL  CHR$   RESULT
  4.  A      1    Erase to end of line
  5.  B      2    Erase to end of screen
  6.  C      3    Repeat FIND or CHANGE // Cursor ON
  7.  D      4    ?? // Cursor OFF
  8.  E      5    
  9.  F      6    
  10.  G      7    Flash Screen
  11.  H      8    Destructive backspace
  12.  I      9    Right tab (every 8th position)
  13.  J     10    Linefeed
  14.  K     11    Left tab (every 8th position)
  15.  L     12    Clearscreen & home cursor
  16.  M     13    Carriage return
  17.  N     14    Insert line & scroll rest of lines down
  18.  O     15    Delete line & scroll rest of lines up
  19.  P     16    Reverse field toggle
  20.          16    Background toggle (before and after color code)
  21.  Q     17    Extra half bright toggle
  22.  R     18    Underline toggle
  23.  S     19    Italic toggle
  24.  T     20    Bold toggle
  25.  U     21    Cursor to start of line
  26.  V     22    Cursor to end of line
  27.  W     23    Cursor to top of window
  28.  X     24    Cursor to bottom of window
  29.  Y     25    Delete character
  30.  Z     26    
  31.  
  32. SPECIAL KEYS
  33.  
  34. Some of the keys have special functions as
  35. described below.
  36.  
  37.     <Esc> -- In command mode this key works like
  38.   <Amiga>+<S>. For example, press <esc> during the
  39.   execution of a LIST or DIR command to stop the
  40.   command.
  41.  
  42.     <F?> -- The function keys have numbers from 1 to
  43.   10 (i.e, <F1>, <F2>, <F3>...). Each key has a
  44.   predefined text attached. Press the key and this
  45.   text will be output on the screen just as if you
  46.   had typed each character of the text, one by
  47.   one.
  48.  
  49.     <Del> -- Deletes the character at the cursors
  50.   position and the rest of the line is moved one
  51.   character to the left.
  52.  
  53.     <-  -- The back space key works like the <Del>
  54.   but instead of deleting the character at the
  55.   cursor position, the character immediately to
  56.   the left is deleted. Consequently the key has
  57.   the same effect as <Left> followed by <Del>.
  58.  
  59.     <Ins> -- Toggles the insert flag. You will move
  60.   from insert mode to overwrite mode or back
  61.   again. This key is on the numeric keypad. Use
  62.   <Shift>+<0> (shifted zero on the keypad).
  63.  
  64.     <Alt>+<Del> -- Deletes the cursor line and
  65.   scrolls the remaining lines up.
  66.  
  67.     <Alt>+<Ins> -- Inserts an empty line at the
  68.   cursor position and scrolls the remaining lines
  69.   down.
  70.  
  71.     <Enter> -- The Enter keys are very important in
  72.   AmigaCOMAL. Depending upon your computer model,
  73.   the word ENTER or RETURN or just a broken arrow
  74.   symbol will be on the keytop. There may be two
  75.   of the keys on the keyboard, each identical in
  76.   function. Press one of these keys and AmigaCOMAL
  77.   reads the contents of the line containing the
  78.   cursor. In direct mode, if the line contains a
  79.   command, the command will be executed. If it
  80.   contains a program line, the line will be
  81.   checked for correct syntax and then stored.
  82.   During program execution, pressing this key
  83.   signifies the end of your INPUT.
  84.  
  85.     <Cursor keys> -- Used to move the cursor. If one
  86.   of these keys are pressed (unshifted) the cursor
  87.   moves in the corresponding direction. If the
  88.   cursor hits the bottom of the window and the
  89.   bottom line (or previous line) contains a
  90.   program line, the program will be scrolled down.
  91.   Likewise moving up past the top.
  92.  
  93.     <Shift>+<Cursor keys> -- Moves cursor to the
  94.   indicated edge of the window. <Shift>+<Right>
  95.   goes to the end of the line. If you are already
  96.   at the top of the screen, <Shift>+<Up> will page
  97.   the program listing up (if the top line listed
  98.   is a program line). Likewise with <Shift>+<Down>
  99.   at the bottom of the window. <PgUp> and <PgDn>
  100.   on the numeric keypad (used with <Shift>) work
  101.   just like <Shift>+<Up> and <Shift>+<Down>.
  102.  
  103.     <Ctrl> + <C> -- Repeats a FIND or CHANGE command.
  104.   See description of FIND and CHANGE in Chapter 2.
  105.  
  106.     <Amiga> + <S> -- This key combination works much
  107.   like <Esc>. In command mode the effect is
  108.   exactly the same: to stop the execution of a
  109.   command. But in addition, this key combination
  110.   also stops the execution of a program.
  111.   <Amiga>+<S> is a short cut for the STOP menu.
  112.  
  113.     <Amiga> + <N> -- A short cut for the NEW menu.
  114.   The effect is the same as typing the NEW
  115.   command.
  116.  
  117.     <Amiga> + <R> -- A short cut for the RUN menu.
  118.   The effect is the same as typing the RUN
  119.   command.
  120.  
  121.     <Amiga> + <Q> -- A short cut for the QUIT menu.
  122.   The effect is the same as typing the BYE
  123.   command.
  124.  
  125.     <Amiga> + <P> -- A short cut for the PAUSE menu.
  126.   By pressing this key combination (or by
  127.   selecting the PAUSE menu) a running program will
  128.   be put into the waiting state until <Amiga>+<C>
  129.   is pressed (or the Continue menu is selected).
  130.  
  131.     <Amiga> + <C> -- A short cut for the Continue
  132.   menu. Being in command mode the effect is the
  133.   same as typing the CON command. If you are in
  134.   the Pause state the program execution will be
  135.   resumed.
  136.  
  137. PEN COLOR
  138.  
  139. Choose one of 32 colors by printing a CHR$(X)
  140. where X is a value between 128-159 (hex $80-$9f).
  141.  
  142. Example:
  143.  
  144.   PRINT chr$($80+3)  // sets color to 3
  145.  
  146. Print a CHR$(17) before and after the color code
  147. to shift to the next 32 colors in Extra Half
  148. Bright mode (some early Amiga models may not have
  149. this mode).
  150.  
  151. Example:
  152.  
  153.   PRINT chr$(17),chr$(130),chr$(17) //color to 35
  154.  
  155. BACKGROUND COLOR
  156.  
  157. Print a CHR$(16) before and after the color code
  158. to set the background to the specified color.
  159.  
  160. Example:
  161.  
  162.  PRINT chr$(16),chr$(130),chr$(16)//background 3
  163.  
  164. BIT PLANES
  165.  
  166. You must have installed AmigaCOMAL with enough
  167. bit planes for the screen to see all the colors.
  168. It takes 6 bit planes to display all 64 colors in
  169. Extra Half Bright mode.
  170.