Post Reply 
LINE, LINE_P ?
05-19-2015, 10:10 AM
Post: #4
RE: LINE, LINE_P ?
Here's a little skeleton program that shows a way to use colors by name:

Code:

EXPORT test()
BEGIN
  local red:=rgb(255,0,0),
         green:=rgb(0,255,0),
         blue:=rgb(0,0,255),
         yellow:=rgb(255,255,0);
  rect();                                        // clear graphic screen  
  rect_p(75,1,265,16,blue);                      // present blue rectangle   
  textout_p("Digitaldreams",G0,130,4,2,yellow);  // put your name in the marquee 
  wait (-1);  // admire your name for awhile
END;

-Dale-
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
LINE, LINE_P ? - Digitaldreams - 05-19-2015, 08:34 AM
RE: LINE, LINE_P ? - Didier Lachieze - 05-19-2015, 08:54 AM
RE: LINE, LINE_P ? - Digitaldreams - 05-19-2015, 09:44 AM
RE: LINE, LINE_P ? - DrD - 05-19-2015 10:10 AM
RE: LINE, LINE_P ? - Digitaldreams - 05-19-2015, 11:38 AM



User(s) browsing this thread: 1 Guest(s)