Opened 10 years ago
Last modified 10 years ago
#2873 closed enhancement
Implemented for-loop for arrays — at Initial Version
Reported by: | Per Östlund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | Bootstrapping |
Component: | MetaModelica | Version: | trunk |
Keywords: | Cc: |
Description
It would be nice to be able to loop over arrays in the bootstrapped compiler, similar to how it's possible to loop over lists. E.g.:
array<T> someArray; algorithm for e in someArray loop // Some code end for;
Note:
See TracTickets
for help on using tickets.