Need help with project please help
Posted: Mon Apr 28, 2008 9:01 pm
I need to make each line a different color does anyone know how i can change each line a different color instead of green?
DECLARE SUB drawthelines ()
'Programmer:
'Chapter 3 project P.40 #1 4-25-08
'Period 2
SCREEN 7
COLOR 4, 0
CLS
drawthelines
END
SUB drawthelines
'This subprogram draws the lines.
FOR x = 10 TO 240 STEP 40
LINE (0, x)-(320, x), 2
NEXT x
END SUB
DECLARE SUB drawthelines ()
'Programmer:
'Chapter 3 project P.40 #1 4-25-08
'Period 2
SCREEN 7
COLOR 4, 0
CLS
drawthelines
END
SUB drawthelines
'This subprogram draws the lines.
FOR x = 10 TO 240 STEP 40
LINE (0, x)-(320, x), 2
NEXT x
END SUB