01-08-2014 03:57 PM
I wanted to select several columns from a 2D array and form a new array which will be my final data.
I have the program below. I would like to know if there is a smart way to do it using FOR loop.
I've tried once but no success.
Solved! Go to Solution.
01-08-2014 04:15 PM
Maybe I'm reading this wrong.
Aren't you just deleting certain columns out of your 2-D array?
The Delete From Array function may be what you're looking for.
You could even call it in a loop if you use high to low sorted array of indices to delete.
01-08-2014 04:20 PM
Delete would also work. But I cannot figure out the correct way to do it. The array was not sorted.
01-08-2014 04:22 PM - edited 01-08-2014 04:23 PM
Autoindexing is your friend.
Pretty sure this should work.