home *** CD-ROM | disk | FTP | other *** search
- >>>>> Quoter v 3.00 <<<<<
- Written By Ryan Brooks
- Compiled in Turbo Pascal 6.0
-
- Well, This is it. The long awaited (for me anyway) version 3.00. This
- version is SO much better then the previous 2. I really owe it all to the use
- of Turbo Pascal 6.0. Previous versions were written using Turbo Pascal 3.3.
- Anyway... I'll get on with the use of the new program.
-
- Required Files in this ZIPfile:
- QUOTE3.EXE -- The Quoter Program. This is the Great one here.
- QUOTE.DOC -- This file.
- Optional Files in this ZIPfile:
- DATENUM.DAT -- File containing Lastread Quote, and LastDate Quote info.
- QUOTES.TXT -- Text file with the quotes in it.
- QUOTE.DAT -- The QUOTES.TXT file compiled.
- QUOTE.BAT -- A Batch file to run the Quoter with...
- QUOTES.NEW -- Text file with New user quotes in it.
-
- The deal with Optional and Required files:
- Ok... QUOTE3.EXE is the only really required files to run the program.
- It is now capable of creating all the other files that it needs. Previous
- versions had to have 2 other .COM files to aid it in this. No more. These
- Optional files are included to steer you in the right direction. You'll
- probably want to change these, as soon as you get a hang of the new program.
-
- Need Help with quoter?
- Well, that's Easy! Just run the program with no command line arguments!
- It will give you some short help about the program.
-
- Quoter Commands
- There are 4 commands that the quoter will understand. These are:
-
- C -- Compile
- R -- Run
- N -- New
- A -- Add
- E -- Enter
-
- That is it. Here is a description of those commands in detail.
-
- C -- Compile. This command compiles a text file into a Binary file that the
- quoter uses to get it's quotes. Here is the usage of the
- command:
- QUOTE3 C <In-file path and name> <Out-file path>
- The In-file path and name is the full path and filename of the
- text file that you wish to compile. The default is the current
- directory with QUOTES.TXT. The Out-file path is the path where
- you wish the Binary file to be. The default is the current
- directory. NOTE: If you get a run-time error here... you
- probably have the wrong path or file name or
- something.
-
- R -- Run. This command Runs the Quoter. Meaning the quoter get's a quote
- and displays it. The usage of the command is:
- QUOTE3 R <R, N, or D for run type> <0,1,2 for Port>
- The run type is the method for selecting quotes. R will result
- in a random selection. N will read the next quote in the file.
- D is a quote of the day feature. It will only give one quote a
- day. The Port is where you want output directed. 1 and 2 for
- their respective COM ports. 0 for local.
-
- N -- New. This resets the DATENUM.DAT file. It sets the lastread pointer
- to 0, and sets the lastdate to the current date. Usage:
- QUOTE3 N
-
- A -- Add. This Command allows you to add a quote to the end of the Binary
- file. The usage of the command is:
- QUOTE3 A <H or S to Hold or Save> <0,1,2 for Port>
- It will prompt you for the lines and so on. I included the port
- field, in case any of you want to allow users to add quotes. But
- for those who want to see what the users put in first there is
- the hold option. This puts the user's quotes in a file called
- QUOTES.NEW. You can look at this file before it goes into the
- list. The new Quotes are entered using the Enter command.
-
- E -- Enter. This command enters quotes from QUOTES.NEW into QUOTES.TXT and
- in QUOTE.DAT. Usage:
- QUOTE3 E
-
- That is the detailed look at the commands. Here are a few examples:
-
- QUOTE3 C C:\BBS\LAST.TXT C:\BBS\QT\ << will compile LAST.TXT to c:\BBS\QT\
-
- QUOTE3 R R 1 << Will run the quoter with a random quote and output through
- COM1.
-
- QUOTE3 A S 0 << Will Add a Quote locally and Save it.
-
- About the Text file:
- The Text file that you compile is a tricky little bit of work. It is not
- really that hard to understand, and even easier to make. All it is is a
- straight ASCII text file. There has to be 1 quote to every 3 lines. Even if
- the quote is only 1 line long. There must be 3 lines. Here are examples of
- 1, 2, and 3 line quotes:
-
- This is a ONE line quote.
- << Blank line holds place! Must be there!
- << Blank line holds place! Must be there!
- This is a TWO line quote.
- Yep... it sure is.
- << Blank line holds place! Must be there!
- This is a THREE line quote.
- No need for a blank line.
- No need at all...
-
- There are legal quotes. They follow the rules. To end the file, you need to
- enter 3 lines of 5 pluses (+++++). This will signal to the compiler to stop.
- See the included QUOTES.TXT to see how it all works.
-
- --------------------------------------------------------------------------------
- I'm open to suggestions and PRAISE... <grin>. If you like this program
- feel free to mail a donation. If you do... you'll be the first to get any
- future versions of this program, or of any others that I can create.
-
- Ypres 1914
- C/O Frank Ducrest
- C/O Episcopal School of Acadiana
- P.O. Box 380 -- Highway 92
- Cade, LA 70519