Computer Science Canada

help me!!!!1

Author:  mac [ Wed Nov 13, 2002 4:17 pm ]
Post subject:  help me!!!!1

write a program to output a red box on a blue backround

Author:  Dan [ 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 )


: