Try
10 SCREEN 5
20 COLOR 15,0,0
30 LINE (0,0)-(100,100),15
40 GOTO 40
and then
RUN
(wow

)
syntax:
LINE(X-start, Y-start)-(X-end, Y-end),color
I didn't even test it but this should work.
just typing
SCREEN 5
LINE ..
etc
won't work, because BASIC returns to SCREEN 0 everytime this way. SO, you'll have to create a listing and RUN it. (Somehow I have the feeling this is the mistake you made)