﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
44	Add for loop functionality to model	Stephen Siegel	zirkel	"Add a ForLoopLocationIF which extends LoopLocationIF.   Ditto for the implementing classes.

A for loop has the form 
{{{
for(initStatement; condition; incrementStatement) S
}}}
It is syntactic sugar for

{{{
initStatement;
while (condition) {
  S;
  incrementStatement;
}
}}}

The {{{ForLoopLocation}}} should provide a way to get the additional information: the initStatement (which actually comes before the {{{ForLoopLocation}}}),  and the increment statement (which is part of the loop body).    The condition is already accessible as it is a special case of the while loop.

Each statement (init or increment) can actually consist of multiple statements, so perhaps the class should provide methods to get the first and last location in the sequence, or something like that.

You then need to add methods to the ModelIF and Model to create such locations.

 "	enhancement	closed	major		model	1.0	fixed	for, loop, model	
