Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Ideas] ListAppend with attributes

$
0
0

If I want to build a list, the typical way is to have a structure and a list of that structure as local variables, assign the structure attributes, do a ListAppend. so the variable of type structure (or, pre 9, record of that structure) is only used for doing the ListAppend. It would be nice if we had a ListAppend that accepts a list as parameter, then based on the type of that list shows the attributes (or single value in case of a list of basic types). This saves a local variable (and possible clearing of it in a loop). For the developer, this would be a bit like the new platform 9 ListAppendAll, in which it is possible to append a list to another list of different type, specifying conversion. In this case it wouldn't be a conversion, but the actual assignments, though the user interface would look the same.


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>