Page 1 of 1

Posted: Wed Jul 17, 2002 6:02 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.

Found somewhere in the net...
-----------------------------

Programmers Song

100 little bugs in the code
100 little bugs in the code
Fix one little bug is the code
101 little bugs in the code
...

[REPEAT UNTIL BUGS=0]


Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.

Posted: Thu Jul 18, 2002 2:50 am
by BackupUser
Restored from previous forum. Originally posted by TronDoc.

I love it!

elecTRONics DOCtor
{registeredPB}P150 32Mb w98/DOS/Linux NO DirX NO IE :wink:

Posted: Thu Jul 18, 2002 12:00 pm
by BackupUser
Restored from previous forum. Originally posted by plouf.

but you increased the number after you "fix" they became
101 so bugs=0 will never be happen :)
ishould song forever , or as long as as i count
(my brain takes longs as maximun :wink:)

Christos

Posted: Thu Jul 18, 2002 3:17 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

> but you increased the number after you "fix" they became
> 101 so bugs=0 will never be happen :)

That's the whole point.


PB - Registered PureBasic Coder

Posted: Fri Jul 19, 2002 3:44 am
by BackupUser
Restored from previous forum. Originally posted by Fangbeast.
Found somewhere in the net...
-----------------------------

Programmers Song

100 little bugs in the code
100 little bugs in the code
Fix one little bug is the code
101 little bugs in the code
...

[REPEAT UNTIL BUGS=0]

Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.
Global Pesticide

Procedure Pesticide_Control(Pesticide, LargeBugs)
If Bugs = 101
Pesticide + 1
Result = Bugs + Pesticide
If AllBugsDead
Pesticide = EmptyCan
EndIf
endif

ProcedureReturn Result

EndProcedure

Fangles