home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / CATLOG / NUMBERIT.LBR / NUMBERIT.DZC / NUMBERIT.DOC
Text File  |  2000-06-30  |  3KB  |  49 lines

  1.             NUMBERIT  Version 1.0   Nov 1986
  2.  
  3. Anyone who uses disk catagloging programs such as FATCAT or MCAT
  4. knows that one of the requisites is that the disk contain a file
  5. that identifies the disk uniquely.  The normal convention is to
  6. use a file such as -BASIC.001.  The dash forces the file to be
  7. at the top of the sort list and the three digit extension is what
  8. is actually used to number the disk.  The rest of the name can be
  9. anything that further describes the content of the disk.
  10.  
  11. In the past, I have always formatted my disks a box at a time and 
  12. then used QUICKEY to define a character to exceute a warm boot,
  13. and the command "SAVE 0 B:-.".  I then finish the instruction
  14. by typing the disks ID number.  This isn't too inconvenient but
  15. why should I have to keep track of the numbers!
  16.  
  17. This tiny program was actually started to be part of a larger one,
  18. that does something completley different but I noticed that the
  19. BCBC compiler opens a file by creating one if it doesn't already
  20. exist.  Unlike MBASIC, it doesn't even write an end of file character
  21. on the file so the file is really zero bytes long.  If you had a
  22. similar program in MBASIC, your file would be the minimum size for
  23. your computer (2K for my KAYPRO).
  24.  
  25. When you run NUMBERIT, it will ask you for a file name  that will
  26. be used for all files and MUST include the disk drive.  The program
  27. will then ask for the first number to use as an extension.  Before
  28. each file creation, it will wait for a carriage return.  A control-C
  29. will abort at any of the input statements.  If you proceed, a disk reset
  30. is performed and the file is created.  If the file already existed, it
  31. will be left untouched since really all the program is doing is
  32. opening a file.  The next file created will be identical except
  33. that the extension will be one number higher.
  34.  
  35. I would strongly suggest that anyone interested in using a cheap
  36. basic compiler should get B-COMPIL.LBR from your local BBS.  I
  37. have found that it is also a learning tool for 8080 CP/M assembly
  38. language since that is what you get out of the compiler.  You can
  39. even use it to simplify writing assembly language programs.  Let
  40. BCBC do the mundane things like ask and check input, string
  41. manipulation etc. and then do the interesting stuff in ASM.
  42.  
  43. You may also want to get BCBCNOTE.LBR which I uploaded some time
  44. ago.  It contains a users guide of sorts and some bug fixes to
  45. BCBC.BAS.
  46.  
  47.                             Pierre Kerr, Ottawa Nov 1986
  48.  contains a users guide of sorts and some bug fixes to
  49. BC