home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / OS2SBPL.ZIP / PREDITOR.DOC < prev    next >
Text File  |  1988-03-28  |  4KB  |  103 lines

  1.                PREDITOR - A text editor for program writing.
  2.  
  3. The program PREDITOR is written in the Structured Programming Language.
  4.  
  5. The following are commands for the PRogram EDITOR:
  6.  
  7.  
  8. 1. OP <filename>
  9.  
  10.        This command opens the file with the file name represented by
  11.        <filename>. You can only open a previously created file.
  12.        If you want to create a new file, use the input command to
  13.        place text into the file buffer and then use the save command
  14.        which creates this new file.
  15.  
  16. 2. CL
  17.  
  18.        This command saves the current opened file and closes it. 
  19.        It also clears the file buffer and allows the user to open another
  20.        file.
  21.  
  22. 3. S <filename>
  23.  
  24.        This command saves the current file buffer to the named file. It
  25.        also leaves all the text in the file buffer. It also allows the
  26.        user to make more than one copy of the file and then make changes
  27.        and save the next edition of the file buffer in another file.
  28. 4. I
  29.  
  30.        This command is for input and will input as many lines as you want
  31.        after the curent line, and will insert them before the next line.
  32.        To end input merely enter carriage return as the first character
  33.        on the line and you will be back in Edit mode.
  34.        To have a blank line merely enter a space in column one and then
  35.        enter a carriage return.
  36.  
  37. 5. F !<search string>!
  38.  
  39.        This command allows the user to find a line with the text pattern
  40.        in the search string entered in the command. The search begins
  41.        with the current line and proceeds to the end of the file buffer.
  42.        If a match is found, the Editor places you on the line where the
  43.        match occurs. If no match is found, a message stating that no match
  44.        was found is issued by the Editor.
  45.  
  46. 6. C !<search string>!<replacement string>
  47.  
  48.        This command allows the user to change the current line by
  49.        replacing a string on the current line, with a new string.
  50.        The editor remains on the current line for other changes if
  51.        need be.
  52.  
  53. 7. L <low line number>,<high line number>
  54.  
  55.        This command allows the user to list lines from the file buffer 
  56.        onto the screen. To list one line only, do not use the comma
  57.        and the high line number in the command. To list from the
  58.        low line number to the end of the file, use an * as the high
  59.        line number. To list the current line, do not use the low number
  60.        and the high number. Merely enter L.
  61.  
  62. 8. P <low line number>,<high line number>
  63.  
  64.        This command is similar to the L command, but it prints lines
  65.        to the printer.
  66.  
  67. 9. D <low line number>,<high line number>
  68.  
  69.        This command allows the user to delete lines from the file
  70.        buffer. To delete lines from the low line number to the end
  71.        of the file use an * as the high line number. To delete the
  72.        current line do not use the low line number and the high line
  73.        number.
  74.  
  75. 10. T
  76.  
  77.        This command allows the user to go to the top of the file
  78.        buffer. The current line is the first line.
  79.  
  80. 11. B
  81.  
  82.        This command allows the user to go to the bottom of the file
  83.        buffer. The current line is the last line.
  84.  
  85. 12. STOP
  86.  
  87.        This command simply exits the editor. You are responsible
  88.        for saving the current file before you exit the editor.
  89.        The STOP command does not save any file.
  90.  
  91.        This program is shareware. If you have translated this
  92.        program from SPL to BASIC using the SPL processor, and
  93.        you like this program, PREDITOR then please register both
  94.        the SPL processor and this program PREDITOR. Both programs
  95.        will tell you how to register and how much to register.
  96.        If you have any questions you may call me at 516 694 5872.
  97.        or send a letter with sase to:
  98.  
  99.        Dennis Baer
  100.        25 Miller Road
  101.        Farmingdale,NY 11735
  102.  
  103.