home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / tools / fcheck.pro < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.7 KB  |  78 lines

  1.  
  2. -------- SIMTEL20 Ada Software Repository Prologue ------------
  3. --                                                           -*
  4. -- Unit name    : FILE_CHECKER
  5. -- Version      : 1.3
  6. -- Author       : Richard Conn
  7. --              : TI Ada Technology Branch
  8. --              : Box 801, MS 8007
  9. --              : McKinney, TX  75069
  10. -- DDN Address  : RCONN at SIMTEL20
  11. -- Copyright    : (c) 1985 Richard Conn
  12. -- Date created : 15 Feb 85
  13. -- Release date : 15 Feb 85
  14. -- Last update  :  2 Dec 85
  15. -- Machine/System Compiled/Run on : DG MV 10000, ROLM ADE
  16. --                                  DEC VAX 11/780, DEC Ada
  17. --                                                           -*
  18. ---------------------------------------------------------------
  19. --                                                           -*
  20. -- Keywords     :
  21. ----------------: Ada Statements, Lines of Code, LOC, Checksum
  22. --
  23. -- Abstract     :
  24. ----------------: FILE_CHECKER uses CAS3 to count the number
  25. -- of Ada statements (terminated by semicolons), the number of
  26. -- lines of code, and a checksum of the non-space (excludes tabs,
  27. -- CR, LF, FF, HT, and spaces) characters in a group of files.
  28. --
  29. -- FILE_CHECKER asks for one file name after another; the user
  30. -- terminates his input by striking RETURN to the file name prompt.
  31. -- FILE_CHECKER then gives a summary report of this data on all
  32. -- files listed.  Include files may be specified along with
  33. -- other file names.
  34. --
  35. -- Ada components used by FILE_CHECKER include GENERIC_LIST and CAS3.
  36. -- CHARACTER_SET is used by CAS3.
  37. -- All are in the Ada Repository in the COMPONENTS subdirectory.
  38. --                                                           -*
  39. ------------------ Revision history ---------------------------
  40. --                                                           -*
  41. -- DATE         VERSION AUTHOR                  HISTORY
  42. -- 2/15/85      1.0     Richard Conn            Initial Release
  43. -- 4/9/85       1.1     Richard Conn            Add Include Files, CAS3
  44. -- 9/25/85      1.2     Richard Conn            Add Output File, Misc
  45. -- 12/2/85      1.3     Richard Conn            Add Count Summary
  46. --                                                           -*
  47. ------------------ Distribution and Copyright -----------------
  48. --                                                           -*
  49. -- This prologue must be included in all copies of this software.
  50. --
  51. -- This software is copyright by the author.
  52. --
  53. -- This software is released to the Ada community.
  54. -- This software is released to the Public Domain (note:
  55. --   software released to the Public Domain is not subject
  56. --   to copyright protection).
  57. -- Restrictions on use or distribution:  NONE
  58. --                                                           -*
  59. ------------------ Disclaimer ---------------------------------
  60. --                                                           -*
  61. -- This software and its documentation are provided "AS IS" and
  62. -- without any expressed or implied warranties whatsoever.
  63. -- No warranties as to performance, merchantability, or fitness
  64. -- for a particular purpose exist.
  65. --
  66. -- Because of the diversity of conditions and hardware under
  67. -- which this software may be used, no warranty of fitness for
  68. -- a particular purpose is offered.  The user is advised to
  69. -- test the software thoroughly before relying on it.  The user
  70. -- must assume the entire risk and liability of using this
  71. -- software.
  72. --
  73. -- In no event shall any person or organization of people be
  74. -- held responsible for any direct, indirect, consequential
  75. -- or inconsequential damages or lost profits.
  76. --                                                           -*
  77. -------------------END-PROLOGUE--------------------------------
  78.