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

Username:   Password: 
 RegisterRegister   
 help me!!!!1
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mac




PostPosted: Wed Nov 13, 2002 4:17 pm   Post subject: help me!!!!1

write a program to output a red box on a blue backround
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Wed Nov 13, 2002 11:38 pm   Post subject: hummmmmmmmmm

ok....

code:

colorback (blue)
cls
Draw.FillBox (maxx div 2 - 100, maxy div 2 - 100, maxx div 2 + 100, maxy div 2 + 100, red)


this is for turing 3.1.1 but i think it will wrok on all of them. the cls is to refresh the back color.

this is how to use the box code and colorback
Quote:

Fill Box:

Draw.FillBox ( x1, y1, x2, y2, Color : int )


colorback:

colorback ( Color : int )
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
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  [ 2 Posts ]
Jump to:   


Style:  
Search: