DOT
Syntax DOT [xcoordinate ycoordinate]
 
Explanation DOT places a dot at the point determined by its inputs. The dot is displayed in the current pen color. The size of the dot reflects the pen width of the first active turtle.

DOT requires a list of two numbers as its input. Since DOT does not evaluate the contents of its input list, the list must contain two numbers. Use SENTENCE or LIST to create a list as an argument for DOT if using variables for the X and Y coordinates.

See also SETXY and GETXY.
 
  

Examples TO RANDOM.DOTS :COUNT :AREA
     REPEAT :COUNT [DOT SENTENCE RANDOM :AREA RANDOM :AREA]
END


TopIndex