This expression is really composed of three fields separated by semicolons. The first field contains the expression ‘index = 0’ and is an
initialising field. Any expressions in this field are executed prior to the
first pass through the loop. There is essentially no limit as to what can
go here, but good programming practice would require it to be kept
simple. Several initialising statements can be placed in this field,
separated by commas.