Kaeru Gaman wrote:I know we are superior to you Danish, but there's no need to call us Gods... thnx anyway...thefool wrote:OMG A GERMAN!!!
Chuffing heck!
- Kaeru Gaman
- Addict

- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
how do you do the line count?
There's lots of white lines in my code for formating purposes so I can't assume the line numbers. Does the compiler say somewhere when it does it's thing? I don't recall.
(Can you include lines that you wrote with the CTRL-V key?
)
There's lots of white lines in my code for formating purposes so I can't assume the line numbers. Does the compiler say somewhere when it does it's thing? I don't recall.
(Can you include lines that you wrote with the CTRL-V key?
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
Aye, I just hit compile and the IDE reports how many lines it processes.
Did I forget to mention that 1100 of the lines were copied from another project?
Only kidding.
Mind you there were a lot of interface definitions and setting up vtables etc. Pretty much non-taxing 'auto pilot' stuff - not proper code as such. Still it had to be done. The project will not function without it. Now that I have to write some 'proper' code, I'll probably manage no more than 20 lines of code!
Did I forget to mention that 1100 of the lines were copied from another project?
Only kidding.
Mind you there were a lot of interface definitions and setting up vtables etc. Pretty much non-taxing 'auto pilot' stuff - not proper code as such. Still it had to be done. The project will not function without it. Now that I have to write some 'proper' code, I'll probably manage no more than 20 lines of code!
I may look like a mule, but I'm not a complete ass.
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Soz Srod, couldn't resist this.
Apparently it takes no time at all to write 1200 lines....
Apparently it takes no time at all to write 1200 lines....
Code: Select all
If CreateFile(0,"howmanylines.pb")
Start.l=ElapsedMilliseconds()
Repeat
a.l+1
WriteStringN(0,";this is line "+Str(a))
Until a>1198
WriteStringN(0,"MessageRequester("+Chr(34)+"How long should it take to write "+Str(a+1)+" lines "+Chr(34)+","+Chr(34)+"Oohh I reckons around "+Str(Total)+"ms"+Chr(34)+")")
CloseFile(0)
EndIf 1200 lines in 12 hours and assuming 24 characters per line avg, including tabs and spaces and returns ..
= 100 lines per hour, 2,400 characters per hour.
= 40 characters per minute.
=2/3rd of a character per second.
Mate, you need to learn to touch type!
(Oh, you actually did some thinking as well ..)
Good going!

If the vertical scrollbar appears on the IDE I think I have written war and peace!
= 100 lines per hour, 2,400 characters per hour.
= 40 characters per minute.
=2/3rd of a character per second.
Mate, you need to learn to touch type!
(Oh, you actually did some thinking as well ..)
Good going!
hehe.Num3 wrote:LOL, maybe it's me... But all my apps are much less then 1000 lines of code![]()
![]()
If the vertical scrollbar appears on the IDE I think I have written war and peace!
Dare2 cut down to size
- Fluid Byte
- Addict

- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany

