Quote: "when i'm done with this tutorial, im gonna go through all of your tutorials so that they clear everything up."
As telling you how to get your program working would essentially mean typing in large sections from the tutorials you are going to check out later anyway, it would be easier for all concerned if I just gave you a heavily commented code snippet.
Set Display mode 1024,768,32
Sync On
Sync
R=255: G=0: B=0: Rem Starting Red, Green and Blue colour values
Ink RGB(R,G,B),0: Rem Set colour for first line(s)
LinesToDraw=1024: Rem Total number of lines across the screen
ShadesPerColour=256: Rem Number of possible shades for each of the R, G and B values
LinesPerColour = LinesToDraw/ShadesPerColour: Rem Number of lines before changing colour
For X=0 To 1023
Line X,0,X,767
Inc LineCounter: Rem Increase the line counter
If LineCounter=LinesPerColour: Rem If we have drawn enough lines of current colour
Dec R: Rem Take the red colour value down one notch
Inc B: Rem Increase the blue colour value up one notch
LineCounter=0: Rem Reset the line counter
Ink RGB(R,G,B),0: Rem Set colour for next line
Endif
Next X
Sync
Wait Key
TDK_Man