07-17-2006 06:43 PM
07-17-2006 11:13 PM - edited 07-17-2006 11:13 PM
Message Edited by altenbach on 07-17-2006 09:19 PM
07-18-2006 10:22 AM
04-30-2015 10:50 PM
How would your nested for loop program look like if you wanted the output to look like?:
000111222
012012012
04-30-2015 11:00 PM
Try a transpose array after the fact.
04-30-2015 11:19 PM
Is there a way to do this by modifying the nested for loops, too?
04-30-2015 11:54 PM - edited 05-01-2015 12:19 AM
If you look at my old example above (second version), you would just move the built array operation outside the loop to get the output transposed:
( Of course there is nothing wrong with just transposing the old result as alread suggested.)