Post Reply 
How make a green Background by a Choose Funktion
03-16-2017, 03:02 PM (This post was last modified: 03-16-2017 03:13 PM by DrD.)
Post: #2
RE: How make a green Background by a Choose Funktion
Like this?

Code:

EXPORT clrs()
BEGIN
  LOCAL  red:=RGB(255,0,0),
       green:=RGB(0,255,0),
        blue:=RGB(0,0,255);

  L0:={"red","green","blue"};  
  CHOOSE(X,"COLORS",L0);
  RECT_P(G0,0,0,320,220,EXPR(L0((X))));
  wait(2);
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How make a green Background by a Choose Funktion - DrD - 03-16-2017 03:02 PM



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