Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Oliver F. on September 10, 2009, 07:34:50 pm
-
Having worked a lot with the transformation templates I found a high need for iterative language constructs to write loop statements.
Actually there is none.
Under linear conditions this is not obvious, it becomes important when using the EXEC_ADD_IN macro which might deliver multiple values eg. as a comma separated list to process. Classifiers eg. might have several tagged values which values are used to process attributes or parent elements.
Actually such a parsing can be done recursively with custom templates I did this yesterday but it is tedious.
So a loop statement would be a rather good idea.
Olive
-
Get's my vote!
I also came over situations where this could have been helpful.
Günther
-
Yes, very much so!
There are some situations where a workaround can be found or another approach produces reasonable results. But sometimes there just does not seem to be a way to get the needed results. Some 'standard' control paradigms should appear in any scripting (or other programming) language. Loop control is certainly one of them.
-
Gets my vote too.
-
Absolutely!
Paolo