Three hours of troubleshooting code.  Three hours of banging my head against my desk.  Apparently the last concussion finally knocked a brain cell loose.

for (int x = 0; x < this.Profile1.SelectedItems.Count; x++)

-not-

for (int x = 0; x > this.Profile1.SelectedItems.Count; x++)


Aarrrrgggghhhh!!!!!!!!

x will never, ever in a million years be greater than the count in that loop.  Bad developer, no donut.

From: [identity profile] damashita.livejournal.com


*shudder* - this is why i don't want to be a programmer... give me Japanese language over that oddly esoteric combination of symbols people call "programming languages" any day!
.

Profile

lokheed: (Default)
lokheed

Most Popular Tags

Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags