home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
prg_hlp.zip
/
PRG_HLP.DOC
< prev
next >
Wrap
Text File
|
1987-06-02
|
5KB
|
96 lines
************************************************************************
* PRG_HLP.PRG version 1.2 *
* S. ROBERT DAVIDOFF, D.M.D. *
* APRIL 1987 *
************************************************************************
This program will allow you to make modifications in your .PRG
files and your database files from within your CLIPPER program.
It is a debugging tool that I designed to help me write my programs
more efficiently. I got tired of "jumping out" of my Clipper programs
to edit files and edit databases and make new databases, and use dflow
and Documentor to help me debug.
In order to take maximum use of the program, you should have (AS IN
PURCHASE!!!) the following programs:
THE NORTON EDITOR (NE)
NORTON UTILITIES DIRECTORY SORT (DS.COM)
DFLOW (WALLSOFT)
THE DOCUMENTOR (DOC) (WALLSOFT)
You may, of course, substitute another editor for the Norton Editor and
you may choose to not use one or more of the other programs that I have
incorporated here, BUT to get maximum effect, I would suggest that you
purchase and use all of the programs... They were all designed as
serious adjuncts to serious programming.
I also make use of a program called WHATKEY by Kevin Shepherd of
Nantucket Corporation. I have also used various assembly language
routines from Nantucket, and The SOURCE (from the CLIPPER sig and the
DBFSIG). These programs are all Public Domain and I thank those who
contributed them.
You can also link in DOT.PRG which comes on the Clipper Autumn disk.
DOT is supposed to do some of these things, but I found my program
to be more reliable and easier to operate.
The beauty of this program is that you merely have to hit the F2 key
from any "Wait" state in your running Clipper program and you can
Tinker with all the .prg files and databases without leaving Clipper.
Make as many changes as you would like and then continue running your
Clipper program. When your through debugging, simply recompile and
you're in business! You can also make new databases as well as
modifying old ones from inside your Clipper program.
*********************************************************************
CREDIT WHERE CREDIT IS DUE!!!!
*********************************************************************
I wish to thank the DATABASED ADVISOR magazine from which some of my
better ideas eminate. This program is based on information from
DataBased Advisor, particularly J. Ari Kornfeld's article in the
December 1986 issue. I have consistently found this magazine to be
the best source of useful information for my programming needs!!!
*********************************************************************
*********************************************************************
BEFORE YOU BEGIN....
*********************************************************************
Compile a demo program called HLP_TEST.EXE which will show how
I use the functions of PRG_HLP. I am including the Source code for the
entire program. Note that all the Utility programs such as the Norton
editor must be in the current directory in order to use them. (See
the README.1ST file.)
I am pretty sure that you can link PRG_HLP to your program with no
particular problem. The calling program has to set the F2 key as
follows:
SET KEY -1 TO PRG_HLP
This will activate this program from any "wait" state when the F2 key
is pressed.
The variable "REPEAT", must be initialized by the calling program as
a PUBLIC variable (which is automatically set to .F.). This will prevent
a recurrsive call of this program. The parameters passed are the same as
the normal Clipper HELP program.
The PROCEDURES INDEX_H and REINDEX_ are set up for your specific programs.
I have included them here as demonsration modules. You have to set
them up for your own programs and you have to change them as you add or
subtract databases and/or indexes
**********************************************************************
PLEASE BE AWARE THAT THERE ARE STILL SOME BUGS IN THIS PROGRAM!!!!
I will release updates as they come along. This is the first update.
You are encouraged to make any modifications that you wish. I would
hope that any improvements generated will be thrown back into the
public domain area so that others may use them.....
If you like the program or if you have any comments, please leave me a
message on the Source.
Bob Davidoff
SOURCE ID: NA2066