Create a range based for loop, which will at least support s.th. like for (i = TABLE(:,1)) and optimal also s.th. like for (i = CLST{:}) for arbitrary contents of CLST{}.
To achieve a basic range based for loop, it might be reasonable to switch to the built-in vector expansion syntax completely. But that might be resource intense compared to the fact that we might also use a custom-built iterator. Furthermore it is necessary to handle the deviations from the original syntax in the parser and the static code analyzer.
Creating an generic range based for loop for non-numerical values might be even more difficult and has to be evaluated during the implementation.
for loop has been created as indicated by the analysis. However, to achieve the possibility to iterate over non-numerical values it was necessary to create a specialized function for this kind of loop.for loops were tested in combination with different scenarios.Range-based for loops were added to the automatic SW tests. No deviations detected.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r1285]
Diff: