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.
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.
Delete would also work. But I cannot figure out the correct way to do it. The array was not sorted.
Autoindexing is your friend.
Pretty sure this should work.