Issue 16605: Traditional for-statement not supported by Alf? (alf-rtf) Source: (, ) Nature: Enhancement Severity: Significant Summary: When we read chapter 9.12 we conclude that the traditional for-statement of languages such as C/C++ and Java, is not supported by Alf. Only for-statements that iterate based on collections are supported now. We think the traditional for-statement with loop variable initialization, termination condition and iteration step should be supported. For example for (Integer i = 0; i < x; i++) { ... } Resolution: The FTF agrees that this is an issue worth considering, but, due to lack of time, decided to defer its resolution to a future RTF working on this specification. Revised Text: None Disposition: Deferred Revised Text: Actions taken: October 14, 2011: received issue October 5, 2012: deferred Discussion: End of Annotations:===== m: webmaster@omg.org Date: 14 Oct 2011 07:47:07 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Mattias Mohlin Employer: IBM mailFrom: mattias.mohlin@se.ibm.com Terms_Agreement: I agree Specification: ALF Section: 9.12 FormalNumber: ptc/2010-10-05 Version: FTF ­ Beta 1 Doc_Year: 2010 Doc_Month: October Doc_Day: 05 Page: 120 - 124 Title: Traditional for-statement not supported by Alf? Nature: Enhancement Severity: Significant CODE: 3TMw8 B1: Report Issue Description: When we read chapter 9.12 we conclude that the traditional for-statement of languages such as C/C++ and Java, is not supported by Alf. Only for-statements that iterate based on collections are supported now. We think the traditional for-statement with loop variable initialization, termination condition and iteration step should be supported. For example for (Integer i = 0; i < x; i++) { ... }