Page 1 of 1

PostPosted: Sat Mar 31, 2001 7:02 pm
by Glasswalker
Hello again, I am currently working on developing my user interface, and I decided that I wanted to have a funny little line matrix thing with lines going between each of 16 controls... I decided to do this like so:
y1 = (a * 10) + 30;
y2 = (b * 10) + 30;

But for some reason, none of the lines whatsoever appear on the screen.... None....
I am not sure if it is something in my implementation, or if it is some silly little typo or quirk in the code, or if the line command is actually not working...

Any ideas?

PostPosted: Sat Mar 31, 2001 8:26 pm
by Tom Miller
I think the problem is in your "for" statement.

Try: for(a=1;a<=8;a++)

In other words, do the following WHILE a<=8

Tom Miller

PostPosted: Sat Mar 31, 2001 9:19 pm
by Glasswalker
Oh jesus... thanks...
I can't believe I missed that.... hehehe...
I knew it would be something simple that just needed another pair of eyes to look at it...