Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / Line Counter - Free, Source Included - Compatible with DBPro and AGK and others

Author
Message
Clonkex
Forum Vice President
13
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 12th Apr 2013 18:04 Edited at: 24th Apr 2013 05:30
Hi all,

I thought I'd release this line counter I wrote in DBPro more than a year ago. There's still some things I'd like to do with it to make it easier to use, but as far as I know it counts lines perfectly.

What it does: Counts lines with code on them, ignores commented-out lines, whitespace and remstart/remend blocks (also counts number of comments and number of comment-blocks).

What it works with: DBPro and AppGameKit and probably others.

How to use it: Drag a source code file (not a project file - it's something I'd like to add) over the exe and drop it.

It took me quite a while to get it working. It handles all kinds of comments available in DBPro and AppGameKit (//, ', `, rem, etc)

Here's a screenshot of it after counting the number of lines in the latest FPSC source code file:



It's totally free for anyone to use for absolutely anything. Source code is included. Download in the bottom-right corner of this post.

EDIT: New signature with link to this post

Clonkex

Attachments

Login to view attachments
Clonkex
Forum Vice President
13
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 24th Apr 2013 05:29
Shameless self-bump

Clonkex

Login to post a reply

Server time is: 2024-04-18 15:58:21
Your offset time is: 2024-04-18 15:58:21