RE: Line Counter (without Comments)

2006-09-15 Thread Munson, Jacob
Over the last couple of days in my free time, I've been working on a modification to the code you guys posted, so it won't count blank lines and lines that were commented out. Here are the results. It looks for these comment types: !--- --- !-- -- /* */ It won't count single comment lines, nor

Line Counter (without Comments)

2006-09-13 Thread Adkins, Randy
Piggy-backing this off the existing thread: The one script that was shared was great, just one exception, what if you wanted to obtain the lines of actual code rather than code and comments? The script will count each line. TIA!

Re: Line Counter (without Comments)

2006-09-13 Thread Claude Schneegans
what if you wanted to obtain the lines of actual code rather than code and comments? Then it would be time to use CF_REextract and parse files! ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send

RE: Line Counter (without Comments)

2006-09-13 Thread Peterson, Chris
N, just roll without comments. I mean cmon, you wrote the code, you should remember what it does! Chris -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 2:56 PM To: CF-Talk Subject: Re: Line Counter (without Comments) what

RE: Line Counter (without Comments)

2006-09-13 Thread Adkins, Randy
Problem is there are many developers that work with the code. -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 3:15 PM To: CF-Talk Subject: RE: Line Counter (without Comments) N, just roll without comments. I mean cmon, you

Re: Line Counter (without Comments)

2006-09-13 Thread Mike Kear
Subject: RE: Line Counter (without Comments) N, just roll without comments. I mean cmon, you wrote the code, you should remember what it does! Chris ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard

RE: Line Counter (without Comments)

2006-09-13 Thread Adkins, Randy
, 2006 3:42 PM To: CF-Talk Subject: Re: Line Counter (without Comments) I had a nightmare assignment once to fix two lines of code in a file that had 7800 lines. There were nested tables, inside nested loops, multiple CFiFs, lots of cfif clientID=x and version=y And not one comment anywhere

RE: Line Counter (without Comments)

2006-09-13 Thread Andy Matthews
--//- -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 2:42 PM To: CF-Talk Subject: Re: Line Counter (without Comments) I had a nightmare assignment once to fix two lines of code in a file that had 7800 lines. There were

RE: Line Counter (without Comments)

2006-09-13 Thread Russ
. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 2:42 PM To: CF-Talk Subject: Re: Line Counter (without Comments) I had a nightmare assignment once to fix two lines of code

Re: Line Counter (without Comments)

2006-09-13 Thread Mike Kear
The ideal thing would have been to take this big file and break it into smaller bits - cfcs or includes or custom tags, however that wasnt an option apparently. Since the actual work was only a 5 minute job but it took most of the day to do, his decision not to have comments anywhere was an

Re: Line Counter (without Comments)

2006-09-13 Thread Denny Valliant
On 9/13/06, Mike Kear [EMAIL PROTECTED] wrote: The ideal thing would have been to take this big file and break it into smaller bits - cfcs or includes or custom tags, however that wasnt an option apparently. Yeah, I like the small bits part, and personally, I roll without comments 'cause my