home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
progm
/
spl1.zip
/
PREDITOR.DOC
< prev
next >
Wrap
Text File
|
1988-03-28
|
4KB
|
103 lines
PREDITOR - A text editor for program writing.
The program PREDITOR is written in the Structured Programming Language.
The following are commands for the PRogram EDITOR:
1. OP <filename>
This command opens the file with the file name represented by
<filename>. You can only open a previously created file.
If you want to create a new file, use the input command to
place text into the file buffer and then use the save command
which creates this new file.
2. CL
This command saves the current opened file and closes it.
It also clears the file buffer and allows the user to open another
file.
3. S <filename>
This command saves the current file buffer to the named file. It
also leaves all the text in the file buffer. It also allows the
user to make more than one copy of the file and then make changes
and save the next edition of the file buffer in another file.
4. I
This command is for input and will input as many lines as you want
after the curent line, and will insert them before the next line.
To end input merely enter carriage return as the first character
on the line and you will be back in Edit mode.
To have a blank line merely enter a space in column one and then
enter a carriage return.
5. F !<search string>!
This command allows the user to find a line with the text pattern
in the search string entered in the command. The search begins
with the current line and proceeds to the end of the file buffer.
If a match is found, the Editor places you on the line where the
match occurs. If no match is found, a message stating that no match
was found is issued by the Editor.
6. C !<search string>!<replacement string>
This command allows the user to change the current line by
replacing a string on the current line, with a new string.
The editor remains on the current line for other changes if
need be.
7. L <low line number>,<high line number>
This command allows the user to list lines from the file buffer
onto the screen. To list one line only, do not use the comma
and the high line number in the command. To list from the
low line number to the end of the file, use an * as the high
line number. To list the current line, do not use the low number
and the high number. Merely enter L.
8. P <low line number>,<high line number>
This command is similar to the L command, but it prints lines
to the printer.
9. D <low line number>,<high line number>
This command allows the user to delete lines from the file
buffer. To delete lines from the low line number to the end
of the file use an * as the high line number. To delete the
current line do not use the low line number and the high line
number.
10. T
This command allows the user to go to the top of the file
buffer. The current line is the first line.
11. B
This command allows the user to go to the bottom of the file
buffer. The current line is the last line.
12. STOP
This command simply exits the editor. You are responsible
for saving the current file before you exit the editor.
The STOP command does not save any file.
This program is shareware. If you have translated this
program from SPL to BASIC using the SPL processor, and
you like this program, PREDITOR then please register both
the SPL processor and this program PREDITOR. Both programs
will tell you how to register and how much to register.
If you have any questions you may call me at 516 694 5872.
or send a letter with sase to:
Dennis Baer
25 Miller Road
Farmingdale,NY 11735