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 / C128 / SIGMV801.ARK / NEAT.DOC < prev    next >
Text File  |  1986-02-01  |  2KB  |  52 lines

  1. TITLE : NEATL and NEATU
  2.  
  3. FROM  : IRV HOFF W6FFC
  4.  
  5. DATE  : 1 JUN 83
  6.  
  7.  
  8.      Originally written by Joe Wright, these programs may be used to
  9. format assembly level source code for more uniform presentation.
  10.  
  11.      NEATC puts all source code to upper-case and and leaves all DB
  12. strings and comments intact.
  13.  
  14.      NEATL puts all source code to upper-case, all comments to lower-
  15. case and leaves DB strings intact.
  16.  
  17.      NEATU puts the entire program to upper-case with the exception
  18. of DB strings which remain intact.
  19.  
  20.      All three programs have an interesting side benefit.  They strip
  21. off the parity bit thus eliminating any 7th bits high that WORDSTAR or
  22. similar editors might accidently leave on some characters. 
  23.  
  24.  
  25.  
  26. TO USE:   (NEATC used for the following examples, NEATL and NEATU work
  27.           the same way:
  28.  
  29.  
  30. B>NEATC <cr>                    displays the way the program may be used
  31.  
  32.  
  33. B>NEATC HELLO.ASM NEWNAME.ASM   keeps the original file intact while
  34.                                 making a new file called NEWNAME.ASM
  35.  
  36. B>NEATC HELLO.ASM        renames the original file to HELLO.BAK,
  37.                                 names the new file the original name
  38.  
  39.  
  40.  
  41.      An interesting feature is available:
  42.  
  43. ;' Using this method will keep names like Irv Hoff or labels
  44. ;' like "START" in the original case should you prefer neither
  45. ;' program to alter some of the comment lines.  Using the
  46. ;' leading "tick" in this manner keeps the comments intact,
  47. ;' regardless which program is being used.  Of course this
  48. ;' technique is unnecessary with NEATC which leaves all com-
  49. ;' lines intact.
  50.  
  51.                     - Irv Hoff
  52.