Chuffing heck!

For everything that's not in any way related to PureBasic. General chat etc...
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Kaeru Gaman wrote:
thefool wrote:OMG A GERMAN!!!
I know we are superior to you Danish, but there's no need to call us Gods... thnx anyway...
:lol:
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

:wink: :mrgreen:
oh... and have a nice day.
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

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? :wink: )
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
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

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? :wink:

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.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

LOL, maybe it's me... But all my apps are much less then 1000 lines of code :lol: :lol: :lol:
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I think you need to borrow the Bloat() command from PowerBasic! :wink:

Either that or I should write more efficient code!

:)
I may look like a mule, but I'm not a complete ass.
Franky
Enthusiast
Enthusiast
Posts: 213
Joined: Sat Apr 26, 2003 2:58 pm

Post by Franky »

So, 1200 Lines of code in one day? What did you do the other 23 hours? 8)

I just made 700 Lines in one half hour.

OK, it´s only been Dummy-Procedures that have to be filled yet :lol:
Give Up everything but trying!
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Yeah, yeah, yeah. 1100 lines, 1200 bugs. :?

(just kidding, don't send the Royal Navy)
BERESHEIT
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Soz Srod, couldn't resist this.
Apparently it takes no time at all to write 1200 lines.... :twisted: :oops:

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 
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

:lol:

Damn, you got me there!
I may look like a mule, but I'm not a complete ass.
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

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! :P




(Oh, you actually did some thinking as well ..)

Good going!


Num3 wrote:LOL, maybe it's me... But all my apps are much less then 1000 lines of code :lol: :lol: :lol:
hehe. :)

If the vertical scrollbar appears on the IDE I think I have written war and peace! :)
Dare2 cut down to size
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

If the vertical scrollbar appears on the IDE I think I have written war and peace!
:lol: :lol:
I may look like a mule, but I'm not a complete ass.
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

LMFAO :lol:
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Post Reply