Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Add columns to array (inverse of _ArrayUnique)

$
0
0
Hi, I'm trying to add columns from existing arrays to spare time and perhaps memory when reading it

I have 3 arrays (with the same size) and want to put them togheter by columns (the inverse of _ArrayUnique function) is it possible? (and fast?)

Here's a example of _ArrayUnique():

[ autoit ]      
#include <Array.au3> Dim $aArray[6][2] = [[1, "A"],[2, "B"],[3, "C"],[1, "A"],[2, "B"],[3, "C"]] _ArrayDisplay($aArray, "$aArray") $aNewArray = _ArrayUnique($aArray) ;Using Default Parameters _ArrayDisplay($aNewArray, "$aNewArray represents the 1st Dimension of $aArray") $aNewArray = _ArrayUnique($aArray, 2) ;Using 2nd Dimension _ArrayDisplay($aNewArray, "$aNewArray represents the 2nd Dimension of $aArray")

thanks in advance ;)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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