|Explanation||SETXY moves the turtle to the point
specified by its input list. The first element is the X
coordinate (horizontal); the second, the Y coordinate
(vertical). The command SETPOS
is equivalent to SETXY.
The input to SETXY is a list. Since Logo does not evaluate the contents of lists, the list used with SETXY must contain the numerical coordinates of the desired location. If variables are used for the values of the X coordinate and the Y coordinate, they must first be evaluated for use with SETXY. The LIST command can be used to do this as in the following example.
MAKE "X 100