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

[Ideas] Generic function to swap array elements

$
0
0
Could you guys please add another function to the system stuff?

I would love the ability to have a method that can shuffle elements within a list.

Its not exactly hard to currently create a function to do this, but at the same time, it isnt possible to create a generic "list move" function, as "Generic Record List" isnt a type that you can compile with.

The function itself should be pretty easy - in actual fact I have attached it in the espace - but I cant compile this, as it uses restricted generic types.

As it stands each time you want to re-order elements on a list you have to write a new function for said list, and this makes doing that unneccesary.


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



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