N
Neal Zimm
Hi All,
At the risk of reinventing the wheel, I'm trying to develop a proc to sort a
rectangular 2 dim array on any # of columns, ascending or descending on each
desired column.
In the design I get to where I have to re-order the rows.
Say the array is dim'd (10, 5)
is there a "shorthand" way to copy a row "as a whole" rather than something
like this:
For Col = lbound(InputAy, 2) to ubound(InputAy, 2)
NewAy(SortedRow, Col) = InputAy(OldRow, Col)
Next Col
Thanks,
Neal Z.
At the risk of reinventing the wheel, I'm trying to develop a proc to sort a
rectangular 2 dim array on any # of columns, ascending or descending on each
desired column.
In the design I get to where I have to re-order the rows.
Say the array is dim'd (10, 5)
is there a "shorthand" way to copy a row "as a whole" rather than something
like this:
For Col = lbound(InputAy, 2) to ubound(InputAy, 2)
NewAy(SortedRow, Col) = InputAy(OldRow, Col)
Next Col
Thanks,
Neal Z.