Vtech Power Zone 2000 User Manual - Page 37

pendown pd - natural

Page 37 highlights

pendown (pd) put the turtle's pen down and draws a line when the turtle moves.(default status) showturtle (st) status) make the turtle shape visible.(default hideturtle (ht) make the turtle shape invisible home screen, points the turtle straight up the state. move the turtle to the center of the (HEADING 0), but does not clear graphics screen or alter the pen clearscreen (cs) erase the graphics screen, returns the turtle to the center of the screen, and sets the turtle's heading to 0.CLEARSCREEN does not affect the pen state or screen colors. xcor output the X coordinate of the turtle ycor output the Y coordinate of the turtle heading output the turtle's degree turtlestate (ts) output the turtle's propery wrap the graphics window no matter how given. window WRAP makes the turtle remain inside large a movement command is Any time the turtle moves off the borders, it wraps around the window and reappears on the opposite edge. window WINDOW removes the boundaries from the turtle's field of movement. If the turtle moves beyond the borders of the graphics window, it continues to move, but cannot be seen. fence window, FENCE prevents the turtle from moving beyond the edge of the graphics window. If you try to move the turtle off the it does not move and Logo displays a message. 2. Mathematics instruction abs arctan cos expn raised output the absolute value of its input. output the arctangent of its input. output the cosine of its input. calculate the natural base e (2.7183. . .) to the power specified by its input. 29

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47

29
pendown (pd
)
put the turtle’s pen down and draws a
line when the turtle moves.(default status)
showturtle (st
)
make the turtle shape visible.(default
status)
hideturtle (ht
)
make the turtle shape invisible
home
move the turtle to the center of the
screen, points the turtle straight up
(HEADING
0), but does not clear
the
graphics screen or
alter the pen
state.
clearscreen (cs)
erase the graphics screen, returns the
turtle to the center of the screen, and
sets the turtle’s heading to
0.
CLEARSCREEN
does not affect the
pen state
or screen colors.
xcor
output the X coordinate of the turtle
ycor
output the Y coordinate of the turtle
heading
output the turtle’s degree
turtlestate (ts
)
output the turtle’s propery
wrap
WRAP
makes the turtle remain inside
the graphics window no matter how
large a movement command is
given.
Any time the turtle moves off the
window
borders, it wraps around the window
and reappears on the opposite
edge.
window
WINDOW
removes the boundaries from
the turtle’s
field
of movement. If the turtle
moves beyond the borders of the graphics
window, it continues to move, but
cannot
be seen.
fence
FENCE
prevents the turtle from moving
beyond the edge of the graphics window.
If you try to move the turtle off the
window,
it does not move and Logo displays a
message.
2. Mathematics instruction
abs
output the absolute value of its input.
arctan
output the arctangent of its input.
cos
output the cosine of its input.
expn
calculate the natural base e (2.7183. . .)
raised
to the power specified by its input.