1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SETARRAY suggestions

Discussion in 'Suggestions' started by x13, Sep 17, 2017.

  1. x13

    x13

    Joined:
    Nov 9, 2016
    Messages:
    21
    Likes Received:
    0
    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
     
    #1 x13, Sep 17, 2017
    Last edited: Sep 17, 2017
  2. Duprey

    Joined:
    Oct 4, 2017
    Messages:
    1
    Likes Received:
    0
    I agree Mark, those would be neat little improvements. I hope they get implemented.
     

Share This Page