Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Need help with a question
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
JokeZ




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Wed Apr 21, 2004 7:01 pm   Post subject: (No subject)

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




PostPosted: Wed Apr 21, 2004 7:31 pm   Post subject: (No subject)

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




PostPosted: Wed Apr 21, 2004 8:05 pm   Post subject: (No subject)

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




PostPosted: 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...
Paul




PostPosted: Thu Apr 22, 2004 2:37 pm   Post subject: (No subject)

well the question said not to use cls lol.
gamer




PostPosted: Thu Apr 22, 2004 2:46 pm   Post subject: (No subject)

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




PostPosted: 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
Andy




PostPosted: Fri Apr 23, 2004 10:10 am   Post subject: (No subject)

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




PostPosted: 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.
we64




PostPosted: 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...
gamer




PostPosted: Sun Apr 25, 2004 9:05 pm   Post subject: (No subject)

why wont ur teacher allow cls?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: