Oof.

Aug 11, 2008 13:12


Some code I discovered the other day (recopied, pseudocoded) for finding the index of a specific column in a grid by name:

Function findColumnByName(name) as integer for i = 0 to column.count-1 if column(i).name = name then exit loop next return i
end function
The problem here, which I'm sure is obvious to coders, is that if it doesn't ( Read more... )

idiocy, work, code

Leave a comment

Comments 1

beeporama August 11 2008, 19:08:51 UTC
Sounds like you've got a submission for http://thedailywtf.com !

Reply


Leave a comment

Up