home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / SIMTEL / CPMUG / CPMUG031.ARK / TBASIC.5 < prev    next >
Text File  |  1984-04-29  |  2KB  |  63 lines

  1. * EDIT <line descriptor>
  2. Causes the interpreter to enter the edit mode on the line described.  The 
  3. line will be printed.  Once in edit mode, single letter commands of
  4. the form nXs are used, where n is the iteration constant (1 if ommitted),
  5. X is the command (detailed below), and s is the search string (if required).
  6. Note that if it is desired to use a command without the search string,
  7. a carriage-return should be entered immediately after the command letter.
  8.  
  9. Commands:
  10.  
  11.  U   Prints the line up to the present pointer position.
  12. nD   Deletes n characters starting with the present pointer position.
  13.  K   Kills (deletes) a whole line, then enters insert mode.
  14. nSs  Moves the pointer to the n'th occurance of string s.
  15.  Is  Performs command S first, then inserts characters at the 
  16.      pointer position until a carriage return is entered.
  17. nCs  Changes the nth occurance of string following C to the
  18.      string inserted from keyboard.
  19.  Q   Returns to command level.
  20.  P   Prints the line in the edit line buffer.
  21.  A   Appends characters to the end of the line until a carriage
  22.      return is entered.
  23. nL   Lists n lines starting with the present line, and enters edit
  24.      mode on the last line listed.
  25.  T   Type the rest of the line past the pointer, then the line up
  26.      to the pointer.
  27.  R   Replace the edited line in source with the current edit buffer.
  28.      ***** IMPORTANT NOTE *****
  29.      Until this command is executed, the source line is not changed.
  30.      Prints out the new line, then enters edit mode on next line.
  31. nF   Move forward n lines and enter edit mode there.
  32. nB   Move backward n lines and enter edit mode there.
  33.  Ms  Move to (line descriptor) and enter edit mode there (search
  34.      string s is used for line descriptor).
  35. nX   Move pointer back n characters.
  36. n<space>   Move pointer forward n characters.
  37.  
  38. A rubout during command entry will cause it to start all over with
  39. the command entry.
  40.  
  41. Commands are not echoed -- this makes it much easier to see what you
  42. are editing--if in doubt about what you typed, hit rubout and start over.
  43.  
  44. The rubout key functions on insert/change commands as a delete key.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                 5
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.