Title | : | FOR NEXT & WHILE WEND Statements - Control Structures Part 10 |
Duration | : | 13:52 |
Viewed | : | 20,128 |
Published | : | 27-01-2012 |
Source | : | Youtube |
Language :Urdu
In the previous lectures, we used GOTO's to move around. This is discouraged
by purists and for good reason. It's too easy to write spaghetti code with
meatball logic that jumps all over. This makes it difficult for anyone else
to read or understand your code. It's even hard to read your own code after
a week or two. Basic provides two other ways to accomplish this, both of which make the
program more flexible and easier to understand. These are the FOR-NEXT and
the WHILE-WEND loops. Lets learn Using FOR-NEXT now.
SHARE TO YOUR FRIENDS
Scan me