07-22-2014 02:10 PM - edited 07-22-2014 02:11 PM
Hello All,
I need to build an array made from a 2D array of 4 columns and x rows, using another array to represent the number of rows each of the four columns will last for. For example
1D array 2D 4 column array Resultant Array
1 1 0 1 0 1 0 1 0
2 3 4 1 5 3 4 1 5
3 4 0 0 0 3 4 1 5
4 0 0 0
4 0 0 0
4 0 0 0
Seems like a fairly simple task but i'm having a hard time figuring it out.
07-22-2014 04:23 PM - edited 07-22-2014 04:24 PM
Did you try two FOR loops, one inside of the other?
07-22-2014 04:48 PM
Thank You!