SETARRAY suggestions

x13

Nov 9, 2016
24
0
Netherlands
#1
Hi

So.
My plan was to input a file into an array. That's easy as long as you only need a single-dimension matrix.
Otherwise you're SOL.

Sure I could fill it the old-fashioned way with a DO loop, but that's beside the point.

You can't do a SETARRAY myarray[%@ARRAYINFO[myarray,1],col2,col3,...]
Well you can, but then you need to use /F, which clears the array.

My suggestion is two-fold :
  1. Allow SETARRAY /R to optionally specify multiple dimensions
  2. Add a new SETARRAY switch (like /K(eep)) that does a non-destructive redimension

I think those would be welcome improvements.
Thanks.

Mark/x13
 
Last edited: