home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Du Jour
/
SoftwareDuJour.iso
/
BUSINESS
/
DBASE
/
DMENU.ARC
/
DMENU.DOC
next >
Wrap
Text File
|
1986-01-17
|
5KB
|
109 lines
Documentation
::::::::::::::::::::::::::::
::: :::
::: dMENU :::
::: v1.00 :::
::: :::
::: Dec. 17, 1984 :::
::: :::
::::::::::::::::::::::::::::
By - Danny Burkes
1080 Barber Creek Lane
Watkinsville, Ga 30677
DISCLAIMER
This program has been provided free of charge to you, the end user.
Therefor there is NO warranty, either expressed or implied, as to the
performance (or non-performance) of this product, it's fitness for a specific
purpose, or anything else you can think of. By using this program, you assume
all responsibility for anything that happens. In others words, if it blows up
your machine, it ain't my fault.
PROGRAM CONCEPT AND USAGE
Now that we are through all the trivial pursuits, we can get to the good
stuff, like what this program does. This program helps out the dBASE
programmer by simplifying the process off creating a menu screen and the error
checking that goes along with that menu screen. As a dBASE programmer, I
found that the most tedious part of designing a menu-driven system
(i.e.-accounting, mailing list, etc) was coding in the menu screens themself.
I'm not saying that they were the hardest, to the contrary, they were the
easiest. Every one was practically identical except for the text on the
screen and the various command files executed following a menu choice. Well
that gave me an idea (wham-boom-lights flashing,etc...) to write a program to
automate this process of typing the same thing over and over. After all,
that's what computers do best anyway (repetitive tasks). So I sat down and
wrote this BASIC program to do just that. Well, after using it for a while,
Ashton-Tate pulls one and comes out with dBASE III. After examining III, I
found that the commands were essentially the same, so I re-wrote the program to
accommodate either program. Then I thought that maybe some of the other users
out there in BBS land might want to use the program too, so I decided to
distribute it. Okay - Now on to using the program. dMENU is VERY easy to
use, in fact I know ANY dBASE programmer could use it without reading this
documentation. After typing 'dMENU' at the system prompt, you will see the
fancy-pants opening display, and then the actual program screen will come up.
First you tell dMENU the filename you want the command file to have. You
don't have to put a ".PRG" here, if you omit an extension, dMENU will assume a
".PRG". You may also leave this blank and just press <ENTER> here to leave
the program. You then tell it how many choices to put on the menu. Note that
the maximum is 9. Future versions of the program may include the ability for
more choices, but the screen gets pretty crowded (and confusing to the user)
if you put 16 menu choices. Whether or not there ARE future versions will
depend on the interest shown in this program. Even if you don't send money,
drop me a letter with your evaluation of the program (likes, dislikes, bugs,
etc) so that I can asses the response to the program. Okay, next dMENU will
ask you if this command file is for dBASE II or III. This determines the
commands that dMENU uses to tell dBASE to clear the screen ("erase" or
"clear"), and the uppercase conversion sign ("!(var)" or "upper(var)"). Next,
you enter the text to appear by the various choices, and the name of the
command file to be executed if this option is chosen. After you finish this,
the rest is automatic. dMENU generates the command file, and then asks you if
you would like to go again.
DONATIONS AND PARTICIPATION
This program is in the public domain and may be freely copied and given away,
as long as no price is charged for the program itself. If you use this program
and find that you like it, you may send an unsolicited donation
($10 suggested) to the address listed at the beginning of this documentation.
Please don't feel that you have to send money to write me about the program.
As I said earlier, even if you don't send money, drop me a line so that I can
asses the interest in this program. This program is just the tip of the
iceberg as to what can be done to simplify dBASE programming (Fox & Geller
have proven that). I encourage people to write programs like this and
distribute them. Together, we can take the hassle out of dBASE programming.