Hi Derrick,
|| While row <= side 'control row
|| column = 1
|| While column <= side
|| For counter = 1 To 256
|| Console.WriteLine(Convert.ToString(counter, 2))
|| column += 1
|| Next counter
|| End While
|| Console.WriteLine()
|| row += 1
|| End While
You've got the right idea with wanting two nested loops. However, as you've found, you're getting loads of consecutive lists of
256.
What you need is to do is 8 values horizontally on the same line. Then go to the next line and do the next 8. And so on. You use
Console.Write() when you want to go stay on the same line. Your Console.WriteLine() is in the right place.
For your grid of values it depends on whether you want the values horizontal or vertical. If horizontal, your first row would be
1, 2, 3, 4, 5, 6, 7, 8. If vertical, it would be 1, 33, 65, 97, 139, etc.
At the moment you are using While loops. However, as you know how many rows and columns there are and as you are always going up
by 1, it would be better to use For loops.
Take out the counter loop and increment it manually inside tyour row and column loops.
That's all for now. Come back to me with the next version.
Regards,
Fergus