34486
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: February 27, 2012, 08:30:17 pm »
So if z had a value of say, 5, the loop would run 5 times before breaking off on the sixth run.
May 9, 2024: The May '24 Report is up.
News: April 23, 2024: Dwarf Fortress 50.13 has been released.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
If I'm reading that right, it starts x at 0, checks to see if x is less than z. If it's true, it adds 1 to x and reruns the loop. If false, it breaks the loop and moves on. Do I have the general concept?Code: [Select]for ( x = 0 ; x < z ; x++)
What fir would anyone birch about that?Yew got me.
Why, do you want to weigh it?What if you stick the recycle bin into the rec███▒▓ç*2} %hnO^¨!FSpoiler (click to show/hide)
yeah... well done, you fucked up the universe to solve a question about computers.
Our job in the universe is done. Now does anyone happen to have a duck?
I think you're looking for break?That might work. I'd have to fiddle with it first, the only time we've used break so far is for switches.
for(;;)Are double semi-colons just a shorthand for "code goes here", or is it an argument of some sort?
If he screwed up that badly, I'm not sure he should be allowed near a computer anymore <.<Poor idea, my friend once deleted this way his important and large project (2 weeks of work + 40 hours of rendering), together with all backups (yes, he somehow managed to delete project, backup and second backup in the second hard drive in one steep).*Empties recycle bin*Use Shift+Delete if you're sure you won't need it. Skips the recycle bin.
"Deleting 34,708 items (2.03 GB)"
I forgot again, didn't I?
That's some dedicated hatred.Heh, I'm not really a fan of the comic either. Doesn't mean I run hate blogs.
They'd say "Oak-ay, I'm just gonna walk away from you now."Fir the love of David McDavid! Just think about what people wood say if they saw these puns.It's in the root of all Bay12'ers. We are the seed of the pun plant.Do we really have to branch off into this?And there I'd almost forgotten about the treepuns.They refuse to leaf you alone.
You're a real sap, y'know.
