Dec 162017
 
Clipper documented source for getting a complete directory tree.
File TREE1.ZIP from The Programmer’s Corner in
Category Dbase Source Code
Clipper documented source for getting a complete directory tree.
File Name File Size Zip Size Zip Type
DEMO.PRG 1108 551 deflated
README 1037 523 deflated
TREE.PRG 3889 1436 deflated

Download File TREE1.ZIP Here

Contents of the README file


To create DEMO.EXE:

1. Copy DEMO.PRG and TREE.PRG to your clipper directory
2. Modify the "drive" variable in DEMO.PRG if desired (already set to "C:")
3. Compile DEMO.PRG by typing: CLIPPER DEMO (then press ENTER)
4. Link DEMO.OBJ which is created in step 2 as follows:
a. For TLINK type: TLINK DEMO,,,CLIPPER+EXTEND
b. For LINK type: LINK DEMO,,,CLIPPER+EXTEND
c. For PLINK86 type: PLINK86 FI DEMO LIB CLIPPER, EXTEND
5. Execute the program by typing: DEMO (then press ENTER)


To create TREE.OBJ for linking separately (instead of using "DO TREE" as in
the demo):

1. Copy TREE.PRG to your clipper directory
2. Compile TREE.PRG by typing: CLIPPER TREE (then press ENTER)

Then write and compile your programs which include calls to ATREE(). When
you're ready to link, add TREE to the list of object files. For example, with
TLINK you would type: TLINK YOURPROG+TREE,,,CLIPPER+EXTEND.

Hope you find this routine useful!

Ruben Agosto, Jr.
CompuServe# 71610,602



 December 16, 2017  Add comments

Leave a Reply