Computer Science Canada

Need help with a question

Author:  JokeZ [ 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.

Author:  Paul [ Wed Apr 21, 2004 7:01 pm ]
Post subject: 

uh...
proc blank
drawfillbox (0, 0, maxx, maxy, white)
end blank

Author:  gamer [ Wed Apr 21, 2004 7:31 pm ]
Post subject: 

lol yea its dat simple...just draw white box over it

Author:  omni [ Wed Apr 21, 2004 8:05 pm ]
Post subject: 

or the slower way
for count:1..maxrow
put repeat(" ",maxcol)
end for

Author:  Delta [ Thu Apr 22, 2004 10:03 am ]
Post 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...

Author:  Paul [ Thu Apr 22, 2004 2:37 pm ]
Post subject: 

well the question said not to use cls lol.

Author:  gamer [ Thu Apr 22, 2004 2:46 pm ]
Post subject: 

yea Jokez, why wont u just simply use cls??

Author:  Delta [ Thu Apr 22, 2004 3:31 pm ]
Post 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

Author:  Andy [ Fri Apr 23, 2004 10:10 am ]
Post subject: 

hmm JoKeZ... my friend's gb name is exactly that

Author:  Paul [ Fri Apr 23, 2004 8:54 pm ]
Post 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.

Author:  we64 [ Sun Apr 25, 2004 6:12 pm ]
Post subject: 

not a big deal to draw a box over it... if the teacher does not want use cls...

Author:  gamer [ Sun Apr 25, 2004 9:05 pm ]
Post subject: 

why wont ur teacher allow cls?


: