home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / prolog / library / prolo_c / exampl35.pro < prev    next >
Text File  |  1986-10-06  |  697b  |  20 lines

  1. /* Program 35 */
  2. /*
  3.   NOTE:  all graphics programs are in white on a
  4.   black(blue) background. If you don't like this
  5.   combination it can easily be changed.  You can
  6.   change the parameters to the 'graphics'
  7.   predicate, or you can change the drawing
  8.   color. Read page 92 and try some combinations
  9.   of parameters.  For example: graphics(1,5,17)
  10.   on a CGA will give you pink letters and a
  11.   white line on a blue background. Other systems
  12.   give different colors. Just explore.
  13. */
  14.  
  15. goal
  16.     graphics(1,1,0), pencolor(7),
  17.     forward(5000),right(144),forward(5000),right(144),
  18.     forward(5000),right(144),forward(5000),right(144),
  19.     forward(5000),right(144),forward(5000).
  20.