Count Lines of Code v1.0
Written by Kenneth Ives  kenaso@home.com

***********
  WARNING
***********  
This application will not generate valid matrix data for Visual 
Basic 3.0 and earlier.  Applications created with these earlier 
versions should be considered obsolete and either deleted or 
scheduled to be upgraded.

**************
  OVERVIEW
**************  
This program comes complete with source code.  Be sure to make a 
reference to "Microsoft Script Runtime" (Scrrun.dll)

This application will count lines of code for both Visual Basic
and C projects.  It will handle VB Group projects and single files
from both C and VB.  In VB, a line continuation indicator of " _" 
at the end of a line is not counted because it is considered a 
continuation of the previous line.  Only the first occurance of 
the continuation is counted.

Options available are whether or not to include Autogenerated code,
blank lines, or comments in the final total.

Items NOT counted in VB are TRAILERS.  These are the logical ending 
statements to a procedural heading.

   Example:    End Sub      End Function     End Property
               End Type     End If           Loop
               Wend         Next

Items NOT counted in C are BRACES( "{" and "}" ) on a line by themselves
or with a trailing semicolon or comment character.

A report is created in Notepad.  All modules are sorted in ascending
order.  The user has the options available in Notepad as to the 
disposition of the report.

******************************
  BEGINNING OF SAMPLE OUTPUT
******************************

Friday, 10 Nov 2000  2:00 PM
-----------------------------------------------------------------
Lines of Code Report on
E:\VB_Projs\Count_LOC\CountLinesOfCode.vbp
-----------------------------------------------------------------
 
   VBP Name:  E:\VB_Projs\Count_LOC\CountLinesOfCode.vbp
Module Name:  basMain.bas
                 342  Total number of lines of code
                 306  Miscellaneous lines of code
                   4  Sub routine headings
                  27  Function routine headings
                   0  Property Let routine headings
                   0  Property Get routine headings
                   0  Property Set routine headings
                   2  API Declare statements
                   2  Constant variables
                   1  Type Structures
                   1  Auto generated lines (Not Included)
                 210  Blank lines (Not Included)
                 760  Comment lines (Not Included)
 
Module Name:  clsMiscForm.cls
                 141  Total number of lines of code
                  93  Miscellaneous lines of code
                   6  Sub routine headings
                   2  Function routine headings
                   0  Property Let routine headings
                   0  Property Get routine headings
                   0  Property Set routine headings
                  14  API Declare statements
                  23  Constant variables
                   3  Type Structures
                  16  Auto generated lines (Not Included)
                  79  Blank lines (Not Included)
                 210  Comment lines (Not Included)
 
Module Name:  frmMain.frm
                 995  Total number of lines of code
                 973  Miscellaneous lines of code
                  20  Sub routine headings
                   2  Function routine headings
                   0  Property Let routine headings
                   0  Property Get routine headings
                   0  Property Set routine headings
                   0  API Declare statements
                   0  Constant variables
                   0  Type Structures
                 240  Auto generated lines (Not Included)
                 340  Blank lines (Not Included)
                 711  Comment lines (Not Included)
 
          ==========
               1,478  Total number of lines of code
 
**********************************************************************
NOTE:     Visual Basic trailers are not counted.  These are the
          logical ending statements used by procedural headings.
 
               End Sub     End Function     End Property
               End If      End Type         Loop
               Next        Wend
 
          Items NOT counted in C are BRACES( '{' and '}' ) on a
          line by themselves or they are the first character
          followed by a semicolon or a comment indicator.
**********************************************************************


************************
  END OF SAMPLE OUTPUT
************************

-----------------------------------------------------------------
Written by Kenneth Ives                    kenaso@home.com

All of my routines have been compiled with VB6 Service Pack 4.
There are several locations on the web to obtain these
modules.

Whenever I use someone else's code, I will give them credit.  
This is my way of saying thank you for your efforts.  I would
appreciate the same consideration.

Read all of the documentation within this program.  It is very
informative.  Also, if you learn to document properly now, you
will not be scratching your head next year trying to figure out
exactly what you were programming today.  Been there, done that.

This software is FREEWARE. You may use it as you see fit for 
your own projects but you may not re-sell the original or the 
source code. If you redistribute it you must include this 
disclaimer and all original copyright notices. 

No warranty, expressed or implied, is given as to the use of this
program. Use at your own risk.

If you have any suggestions or questions, I'd be happy to
hear from you.
-----------------------------------------------------------------
