"The for loop starts with 'for' and is followed by a variable,
in the example below 'i'. The for loop is designed to be used with
a list of items to work through, like files, numbers, folders, etc.
This list must be supplied in some form. The 'do' is followed by
the method of manipulation, what you want to do with the
information that you are working through. In the example the 'do'
is simply to send to screen each of the numbers. Close the for loop
with the 'done'."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.