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 :
I think those would be welcome improvements.
Thanks.
Mark/x13
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 :
- Allow SETARRAY /R to optionally specify multiple dimensions
- 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: