Apologies, i made a big typo.

The only way for me to start the loops is (line > 11) or (11 < line). I cant imagine why it works. When i try (line = 1) it still wont start. If i try (line != 11) it STILL doesn't start. It simply prompts me to enter a character, then when i hit enter, it just hangs.

When i do (line > 11) or (11 < line) and the loops seems to start, i get only part of my box:

################
#...............................#

So it seems to go through the loop one time, then come to its senses, realizes that 1 isn't greater than 11, and quits the loop. I am really clueless about what might be the problem. Could someone try running this on their own system and seeing if it works? Maybe its just a problem with my setup.