¢ DIRECTORY MAKER ¢ by Ron Fetzer ¢ ¢ The DIRECTORY MAKER is a very¢ nice module to incorporate into your¢ own program. ¢ ¢ It can access the directory of¢ drives #1, #2 and the RAM Disk D8.¢ Besides showing you all the files on¢ the disk it does a lot of other¢ things, such as: ¢ ¢ 1) The number of files on the ¢ disk ¢ 2) The number of FREE Sectors ¢ 3) The total number of Sectors. ¢ 4) The Disk Density ¢ 5) The max. number of possible ¢ open files. ¢ 6) The max. FREE memory ¢ availbable. ¢ 7) The BASIC revision of your ¢ computer. ¢ ¢ You can A) Access another Drive.¢ B) Go to BASIC. D) Go to DOS. L) Load¢ another Disk. M) Delete MEM.SAV. from¢ RAM Disk D8. R) Return to your¢ program. ¢ ¢ The module is in LISTED form on¢ the disk. ¢ ¢ ¢ HOW TO USE THE MODULE IN YOUR ¢ PROGRAM ¢ ¢ 1) Load your program into the¢ computer. RENUMBER it so it starts¢ with line #200 . Then type ENTER¢ "D:DIRECTRY.LIS" from the News-¢ letter disk. ¢ 2) The module will now be attached¢ to the front of your program¢ (lines 10 to 150) ¢ 3) LIST the program to your screen ¢ and look at it. Make sure your ¢ origninal program starts with line¢ 200. The RETURN TO PRG. looks for ¢ the line 200 to start the program.¢ 4) Now SAVE it with your FILENAME ¢ ¢ HOW TO RENUMBER your program.¢ TURBO BASIC has a RENUMBER command¢ that is very fast. The command is¢ RENUM a,b,c ¢ a = The 1st OLD number to start with¢ b = The NEW number that you want ¢ c = Is the line interval (usually 10)¢ ¢ Suppose your OLD programm starts¢ now ith line #100 and you want it to¢ start with line #200, you would type¢ RENUM 100,200,10 ¢ ¢ To get to TURBO BASIC do the¢ following: ¢ ¢ 1) Turn the N/L disk to side B¢ and boot it up. TURBO BASIS¢ will be loaded. ¢ 2) Hit the RESET key and type in¢ NEW to erase NEWSLTR.BAS ¢ 3) Take out the N/L disk and put¢ put in your program disk and¢ LOAD your program. ¢ 4) If your program starts with¢ line #100 and you want to¢ start with line # 200 then¢ type RENUM 100,200,10 ¢ 5) Save it with a new FILENAME. ¢ ¢ To get this program hit the¢ RESET key and type in NEW to erase¢ the program in memory. Then type¢ ENTER "D:DIRECTRY.LIS" and then RUN¢ it. ¢ ¢ >>>>>>>>>>>>>>>>END<<<<<<<<<<<<<<<<<<¢ ¢