Author |
Message |
JokeZ
|
Posted: Wed Apr 21, 2004 6:48 pm Post subject: Need help with a question |
|
|
Ok, the question is : Write a procedure call 'blank' that works like cls.
Do not use the "cls" as a statement procedure.
If u can help me, i would really appresiate it, thx. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Paul
![](http://i12.photobucket.com/albums/a207/paulbian/DDRDuck.png)
|
Posted: Wed Apr 21, 2004 7:01 pm Post subject: (No subject) |
|
|
uh...
proc blank
drawfillbox (0, 0, maxx, maxy, white)
end blank |
|
|
|
|
![](images/spacer.gif) |
gamer
|
Posted: Wed Apr 21, 2004 7:31 pm Post subject: (No subject) |
|
|
lol yea its dat simple...just draw white box over it |
|
|
|
|
![](images/spacer.gif) |
omni
![](http://www.ffonline.com/1_ff8gfx/index-pic1.jpg)
|
Posted: Wed Apr 21, 2004 8:05 pm Post subject: (No subject) |
|
|
or the slower way
for count:1..maxrow
put repeat(" ",maxcol)
end for |
|
|
|
|
![](images/spacer.gif) |
Delta
![](http://cg-clan.f2g.net/express_slower.gif)
|
Posted: Thu Apr 22, 2004 10:03 am Post subject: (No subject) |
|
|
ya sure its slower... but why the heck would you want that... he just wanted a clear screen... and I have no idea why you would want to use drawfillbox instead of cls because cls is much faster... and its there for that reason... so ya... |
|
|
|
|
![](images/spacer.gif) |
Paul
![](http://i12.photobucket.com/albums/a207/paulbian/DDRDuck.png)
|
Posted: Thu Apr 22, 2004 2:37 pm Post subject: (No subject) |
|
|
well the question said not to use cls lol. |
|
|
|
|
![](images/spacer.gif) |
gamer
|
Posted: Thu Apr 22, 2004 2:46 pm Post subject: (No subject) |
|
|
yea Jokez, why wont u just simply use cls?? |
|
|
|
|
![](images/spacer.gif) |
Delta
![](http://cg-clan.f2g.net/express_slower.gif)
|
Posted: Thu Apr 22, 2004 3:31 pm Post subject: (No subject) |
|
|
ok then use Draw.Cls .... the question prolly never said you can't use that did it?... good... that solves our problem... have a nice day |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Andy
|
Posted: Fri Apr 23, 2004 10:10 am Post subject: (No subject) |
|
|
hmm JoKeZ... my friend's gb name is exactly that |
|
|
|
|
![](images/spacer.gif) |
Paul
![](http://i12.photobucket.com/albums/a207/paulbian/DDRDuck.png)
|
Posted: Fri Apr 23, 2004 8:54 pm Post subject: (No subject) |
|
|
*cough*dodge*cough*spams*cough*
Wah! if the teacher tells him not to use CLS then he doesn't use CLS. OK?
And plus drawing a square doesn't take millions of years. |
|
|
|
|
![](images/spacer.gif) |
we64
![](http://i5.photobucket.com/albums/y174/we64/LJDisplayPicture.jpg)
|
Posted: Sun Apr 25, 2004 6:12 pm Post subject: (No subject) |
|
|
not a big deal to draw a box over it... if the teacher does not want use cls... |
|
|
|
|
![](images/spacer.gif) |
gamer
|
Posted: Sun Apr 25, 2004 9:05 pm Post subject: (No subject) |
|
|
why wont ur teacher allow cls? |
|
|
|
|
![](images/spacer.gif) |
|