
-----------------------------------
JokeZ
Wed Apr 21, 2004 6:48 pm

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.

-----------------------------------
Paul
Wed Apr 21, 2004 7:01 pm


-----------------------------------
uh...
proc blank
drawfillbox (0, 0, maxx, maxy, white)
end blank

-----------------------------------
gamer
Wed Apr 21, 2004 7:31 pm


-----------------------------------
lol yea its dat simple...just draw white box over it

-----------------------------------
omni
Wed Apr 21, 2004 8:05 pm


-----------------------------------
or the slower way
for count:1..maxrow
put repeat(" ",maxcol)
end for

-----------------------------------
Delta
Thu Apr 22, 2004 10:03 am


-----------------------------------
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...

-----------------------------------
Paul
Thu Apr 22, 2004 2:37 pm


-----------------------------------
well the question said not to use cls lol.

-----------------------------------
gamer
Thu Apr 22, 2004 2:46 pm


-----------------------------------
yea Jokez, why wont u just simply use cls??

-----------------------------------
Delta
Thu Apr 22, 2004 3:31 pm


-----------------------------------
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

-----------------------------------
Andy
Fri Apr 23, 2004 10:10 am


-----------------------------------
hmm JoKeZ... my friend's gb name is exactly that

-----------------------------------
Paul
Fri Apr 23, 2004 8:54 pm


-----------------------------------
*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.

-----------------------------------
we64
Sun Apr 25, 2004 6:12 pm


-----------------------------------
not a big deal to draw a box over it... if the teacher does not want use cls...

-----------------------------------
gamer
Sun Apr 25, 2004 9:05 pm


-----------------------------------
why wont ur teacher allow cls?
