- Lesson 11: More Data Structures and Types
- WebPositive matures
- Lesson 10: More Pointers and the Command Line
- My Interview About Haiku and BeOS on omnes.tv
- Whole Lotta Lessons Goin' On
- My Impressions from SCaLE 2010
- WebPositive emerges
- Lesson 7: Losing My Memory
- Diving into WebKit
- Lesson 6: More Loops and Conditions
Lesson 4: If, For, And, Not, Or
Hey, that rhymes even! :P Lesson 4 is now out. Decision-making and repeating instructions are on the agenda for this one, expanding the repetoire of basic skills for writing code. Learning to Program With Haiku, Lesson 4.
- darkwyrm's blog
- Login or register to post comments







Comments
Re: Lesson 4: If, For, And, Not, Or
Thank's darkwyrm!!!
Re: Lesson 4: If, For, And, Not, Or
Thank you very much for taking the time to write these lessons, darkwyrm. These are worth their bytes in gold.
Re: Lesson 4: If, For, And, Not, Or
If variables can be declared using the equals operator, why is 'int' used?
Thanks.
Re: Lesson 4: If, For, And, Not, Or
If variables can be declared using the equals operator, why is 'int' used?
Variables can't be declared using the equals operator. At least they can't in C/C++. You've misunderstood something I guess.
Example:
Re: Lesson 4: If, For, And, Not, Or
But, they can be changed with just an equals, right?
Sorry, this is quite different from the only language that I know, BBC BASIC (excluding assembly).
Re: Lesson 4: If, For, And, Not, Or
That is correct. :)