Thursday, October 14, 2010

Borders?

Today in ICS we had to create borders around the inside of the run window. The trick is, without extra options the border cannot perfectly fit.

I tried a few different ways to get the border to fit, however they were all "cheating" since I either increased the run window'size or decreased the border's size. I finally figured out that the reason It was not occupying the last line was because of the verb "put". This forced extra space at the bottom, making everything shift up. I eventually figured out that by using the "dot-dots", I could keep from skipping the line, and have the bottom of the border perfectly fit in. Unfortunately, this method was not the easiest way, and took up alot of extra space. I couldn't figure out how to shorten it, however I'm sure we'll learn about it tommorow.

So far I'm finding programming really fun, except for the task where we had to make my name. My full name is 21 letters long, so I wasn't too thrilled about that part. Other than that, it is really fun.

That's all for now!

No comments:

Post a Comment