Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> plot plot a graphics point pp 171</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PLOT                       Plot a Graphics Point                     pp 171

 Syntax:  Plot (Row,Col,Color) ;

 Type:    Integer

 Form:    Procedure

 Purpose: Plot a point on the graphics screen.


 ----------------------------------------------------------------------------


 Usage:
       VAR
          Row    : Integer ;       { Row number 0..319                  }
          Col    : Integer ;       { Col number 0..199                  }
          Color  : Integer ;       { Colors 0..3                        }

       BEGIN
          GraphColorMode   ;       { Set 320x200 medium resolution mode }
          Plot (0,0,1)     ;       { Upper left corner in color 1       }
       END.

See Also: Draw GraphWindow Palette

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson