ALF 1.2 RTF Avatar
  1. OMG Issue

ALF12 — Traditional for-statement not supported by Alf?

  • Key: ALF12-6
  • Legacy Issue Number: 16605
  • Status: open  
  • Source: IBM ( Mattias Mohlin)
  • 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++)

    { ... }

  • Reported: ALF 1.0b1 — Fri, 14 Oct 2011 04:00 GMT
  • Updated: Tue, 14 Jul 2020 19:26 GMT