I wrote a BASIC program which counts the lines in my other BASIC programs. It includes number of lines total, number of empty lines, number of lines without empty lines, and seconds it took to count all of it up. Anything else I should add. I know it's my program and I should build it the way I like it, but I like getting ideas from other people. :-)
5 replies to this topic
#1
Posted 19 October 2010 - 02:51 PM
|
|
|
#2
Posted 19 October 2010 - 06:26 PM
#3
Posted 19 October 2010 - 09:03 PM
What else should be included in a line counter?
#4
Posted 19 October 2010 - 09:14 PM
Try counting things like words and letters, you will need to learn how to separate words by spaces, it is a useful feature in word processors.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 20 October 2010 - 10:28 PM
If it's for programming, you could add things like how many variables are declared, what control structures are used (if/then/else, while, do/while, switch/case, etc.). How many classes are defined, how many methods/properties per class.
#6
Posted 21 October 2010 - 08:07 AM
That's what I'm talking about. :-)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









