My friends, I'm sorry I forgot to tell you that I am using "Clipper.exe" to compile the .PRG files to .OBJ files and "Plink86.exe" to convert to an executable file.
In Clipper Summer 87 version, VALID is required to validate the input data. That is why only any letter
within the double quotations marks are accepted. Other input not within the quotes will be invalidated.
The following simple tutorial for compiling .PRG files is not intended for the Expert Clipper/Dbase Programmers
but for those who need to know Clipper Summer 87 style of compiling. This may not be 100% related to the discussed
topic but this can help anyone here. My previous post regarding @ GET VALID will be successfully compiled using
Clipper.exe of Clipper Summer 87.
These are the required software/files:
CLIPPER.EXE
CLIPPER.LIB
CURDRV.LIB
EXTEND.LIB
PLINK86.EXE
If you want a very good program/text editor, obtain also "NE.COM" (Norton Editor) for DOS.
You also need to set the PATH of the above files to be successful in compiling.
HOW TO COMPILE AND CONVERT TO EXECUTABLE FILE?
IF ONLY ONE .PRG WILL BE COMPILED AND CONVERTED TO .EXE FILE, (for example, Personnel.prg)
Use this command:
CLIPPER Personnel.prg (then press Enter) - This will create an object "Personnel.OBJ" file
to be used for conversion to .EXE using PLINK86.exe
Then followed by this command:
PLINK86 FI Personnel.prg (then press Enter. This will now create a "Sample.EXE" file
IF MORE THAN 1 .PRG files (ex. Personnel.prg, Payroll.prg, Reports.prg), you have to create
a batch file (ex. PPR.BAT) which will contain the 3 .PRGs
Inside PPR.BAT:
clipper personnel -m -l -q
clipper payroll -m -l -q
clipper reports -m -l -q
After creating PPR.BAT, type this command:
PPR (then press Enter. This will create personnel.obj, payroll.obj, and reports.obj)
NOW, TO CONVERT THE NEWLY CREATED .OBJ FILES TO .EXE FILE, You have to create a .LNK
file (ex. PPR.LNK)
Inside PPR.LNK:
fi
personnel,
payroll,
reports
lib
clipper,extend
After creating PPR.LNK, type this command:
PLINK86 @PPR (then press Enter. This will create "Personnel.exe" file. Don't forget the "@"