Programmers Song

For everything that's not in any way related to PureBasic. General chat etc...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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:
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post 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
Post Reply