On Jul 30, 2004, at 11:22 PM, Seth Willits wrote:
Another quick FYI, I wrote this little project to count the lines of
code in a project by using the text from the "Export Source" action.
It only counts non-blank lines of code and comments. So the lines like
"Window1.BtnCount.Action:" and "Sub Action()" aren't count. It's also
quite fast - "instant" with the largest projects I have here.
Seth, man, you disappoint me. This code has edges so rough it cuts the
skin :-D
I just dropped the Run command into the App.OpenDocument event, changed
File to item, removed references to the controls, and changed it to
spit out the result in a msgbox. Much easier.
I wonder though who has the largest project... anyone care to dance?
My largest currently tops under 6 grand at the moment, but I don't
really write very large projects. I just write lots of medium-sized
ones and never finish most of them. Now if you added up all the code
of all the "current" projects I have, then I'd be a contender...
Anyway, Minerva clocks in at a whopping 24,015 lines
ShowTime, my newest and second most complicated, rounds out at 8,078
Simple Image Browser at a meager 4,936
I'm sure I'll be outweighed in no time.
------------------------------------------------------------------------
-------------------
Jarvis Badgley, ChiperSoft Systems chiper at chipersoft dot com
Necessity is the mother of shareware http://www.chipersoft.com
AIM: ChiperSoft
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|