VTech SilverStreak User Manual page 34

User manual
Table of Contents

Advertisement

turtlestate
(ts)
wrap
window
fence
2. Mathematics Commands
abs
arctan
cos
expn
int
log
log10
product
quotient
random
remainder
round
sin
sqrt
sum
3. Word & List Commands
first
last
butfirst
(bf)
butlast
(bl)
word
output 4 turtle properties:
pen down?
turtle visible?
background colour
pen colour
make 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.
remove 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.
prevent 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.
n
output the absolute value of its input.
n
output the arctangent of its input.
n
output the cosine of its input.
n
calculate the natural base e (2.71828. . .) raised to the
power specified by its input.
n
output the integer portion of its input by removing the
decimal portion, if any. No rounding occurs.
n
output the natural logarithm of its input.
n
output the base 10 logarithm of its input.
m n
output the product of its inputs. PRODUCT expects two
inputs, but will accept more if it and all its inputs are
enclosed in parentheses.
m n
output the result of dividing the first input by the second
input.
n
output a randomly selected number from 1 through its
input.
m n
output an integer which is the remainder of dividing the
first input by the second.
n
output the number rounded to the nearest integer.
n
output the sine of its input.
n
output the square root of its input.
m n
output the result of adding its inputs. SUM expects two
inputs, but will accept more if it and its inputs are
enclosed in parentheses.
n
output the first element of its input.
n
output the last element of its input.
n
output all but the first element of its input
n
output all but the last element of its input
m n
output a word made up of its inputs. WORD expects
two inputs, but will accept more if it and its inputs are
enclosed in parentheses.
29

Advertisement

Table of Contents
loading

Table of Contents