01-25-2019 03:48 PM
I guess I should have made it clear that there will only be one input array of varying size.
01-25-2019 03:52 PM
I'll be leaving for the day and probably moving onto another project on Monday, but I'll still be working on this one as time allows.
01-25-2019 04:08 PM - edited 01-25-2019 04:09 PM
@DickHutchings wrote:
I guess I should have made it clear that there will only be one input array of varying size.
As I said, the inner code in the FOR loop takes an array of variable (but even) size and returns an array of half the size. Exactly want you want.
The rest of my code is just for demonstration. It shows how the output looks like for any of the four input arrays.