Columns

Hi!
I'm working with arrays and I get them column by column and need to print them. I as there a way to print in columns?
for example:
I produce an array of A, B and C from a loop and then need to print them in one column and the go to the next column ....
so in the end I shall have an output like this:
A E
B F
C G
D h
... ...

my arrays are too long (over 50K) so I cant just store the arrays and then print them. I need to produce each column array, print them and delete it and go to the next column.
Hope I explained well :)
I'm working with arrays and I get them column by column and need to print them. I as there a way to print in columns?


The first column of ,say, a 2D array consists of elements [0][0],[1][0],[2][0] ... and so on. The second column in this same 2D array consists of [0][1],[1][1],[2][1]... and so on. One way to print the columns consecutively would be to use two nested loops which would select the elements in this order to print them. The first loop to identify the line number and the second loop to control the column number.
Topic archived. No new replies allowed.