• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Automating Scripts with Loop... > WRITING AND UNDERSTANDING LOOP CONDI...

WRITING AND UNDERSTANDING LOOP CONDITIONS

For the rest of this lesson, we’ll use the while loop exclusively. The actions within this type of loop are performed continuously—as long as the condition evaluates to true . Take, for example, the following:

					i = 0;
					while (i < 10) {
					// perform these actions
					}
				


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint