To get the full benefit of the lesson, watch the video
Lesson 15: Increment and Decrement part 1
NOTE: for a fast copy, follow these steps in order:
- Click anywhere in a text box below (result will be a blinking vertical line in the text box)
- Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
- Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere you wish
Examples of incrementing and decrementing |
The vale on the right of the
assignment operator ("=") will ALWAYS be the new value of the variable that is on the left hand sign of the assignment operator.
(Don't forget there can be only one variable on the left side of the assignment operator.
The same rules still apply... The vale on the right hand side of the assignment operator will be the new value of the left hand side
Here is a larger example of how to apply the increment and decrement technique.
No comments:
Post a Comment