July 2017
Beginner
208 pages
3h 7m
English
This chapter shows how to use loops to perform iterative operations. It also shows how to create a delay in a script. The reader will learn how to use loops and the sleep command in a script.
Topics covered in this chapter are as follows:
for, while, and until loops.sleep command and how it is used to cause a delay in a script.sleep.One of the most important features of any programming language is the ability to perform a task, or tasks, a number of times and then stop when an ending condition is met. This is accomplished by using a loop.
The next section shows an example of a very simple ...
Read now
Unlock full access