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 / TURBOPAS / CROSSREF.ARK / CROSSREF.INF < prev    next >
Text File  |  1987-04-18  |  2KB  |  56 lines

  1.  
  2. Author     : Milton Hom
  3. Date       : 1/31/87
  4. Program    : Cross Reference
  5. System     : CP/M 80
  6. Files      : CROSSREF.PAS
  7.              CR-M01  .INC
  8.              CR-M02  .INC
  9.              CR-M03  .INC
  10.              CR-M04  .INC
  11.  
  12. Description:
  13.   This is a Pascal language cross reference program for identifiers.
  14.   Identifiers are all constants, types, variables, and standard functions and
  15.   procedures.  If control characters such as ^G,^I,etc are used, they will be
  16.   considered identifiers.
  17.  
  18.   The Pascal reserved words recognized by this program are:
  19.      ABSOLUTE  AND       ARRAY     BEGIN     CASE      CONST     DIV
  20.      DO        DOWNTO    ELSE      END       EXTERNAL  FILE      FOR
  21.      FORWARD   FUNCTION  GOTO      IF        IN        INLINE    LABEL
  22.      MOD       NIL       NOT       OF        OR        PACKED    PROCEDURE
  23.      PROGRAM   RECORD    REPEAT    SET       STRING    THEN      TO
  24.      TYPE      UNTIL     VAR       WHILE     WITH
  25.  
  26.    The analysis of the Pascal program will consist of:
  27.       1. Total lines of source code.
  28.       2. Total continuous lines of comments.
  29.       3. Total blank lines.
  30.       4. Actual lines of code.
  31.       5. Total reserved words.
  32.       6. Reserved words/line of code.
  33.       7. Total identifiers.
  34.       8. Identifiers/line of code.
  35.       9. Total comments.
  36.      10. Comments/line of code.
  37.      11. Different identifiers.
  38.      12. Average length of identifiers.
  39.      13. Most used identifier.
  40.      14. Least used identifier.
  41.      15. Total user defined functions.
  42.      16. Total user defined procedures.
  43.  
  44. Input:
  45.   A Pascal program in ASCII form.  Include file(s) are ignored by this
  46.   program.  Therefore, each file must be cross referenced separately.
  47.  
  48. Output:
  49.   A table of sorted identifiers and a simple analysis of the Pascal program
  50.   will be send to a disk file that is specified by the user.
  51.  
  52. Compiling Instructions:
  53.    1.  Set compiler options to compiled to disk.
  54.    2.  C)ompile or R)un.
  55.  
  56.