home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Du Jour
/
SoftwareDuJour.iso
/
BUSINESS
/
DBASE
/
DBCMPILE.ARC
/
COMPILE.DOC
next >
Wrap
Text File
|
1986-02-17
|
1KB
|
30 lines
Pseudo-Compiler for dBase programs
Compile2.prg - dBase II version
Compile3.prg - dBase III version
By: J. Ron Menning / Alliance, Ohio
Published in 'PC-Magazine' Volume 5, Number 5
'Power User' Column
March 11,1986
COMPILE.PRG will take your dBase command files, and remove all
comment lines, blank lines, indentation and the trailing blanks
some editors can leave behind. It will create a target file with
the same name as the source file except that the last letter of
the new filename will be 'C'. The new file will run faster due
to the fact that the dBase interpreter will be saved the work of
purging this stuff out as it goes. This will, of course make the
target file more difficult to debug, so it's advisable to keep your
original file. One possible improvement, for the program, might
be to add a facility to convert all text not within quotes to lower
case, to save the interpreter some more work. I'm working on that,
and I will upload it when I can get the time to make it work.
John Peschken
P.S. The program requires that the .DBF file with the same name be
in the current directory. I.E. COMPILE2.DBF needs to be used with
COMPILE2.PRG.