Vtech Power Zone 2000 User Manual - Page 38

firstput fput

Page 38 highlights

int log log10 product quotient random remainder round sin sqrt sum 3. Word & List instruction first last butfirst (bf))butfirst butlast (bl) word sentence (se) list firstput (fput) lastput (lput) output the integer portion of its input by removing the decimal portion, if any. No rounding occurs. output the natural logarithm of its input. output the base 10 logarithm of its input. output the product of its inputs. output the result of dividing the first input by the second input. output a randomly selected number from 1 through its input. output an integer which is the remainder of dividing the first input by the second. output the number rounded to the nearest integer. output the sine of its input. output the square root of its input. output the result of adding its inputs. output the first element of its input. output the last element of its input. output all but the first element of its input output all but the last element of its input output a word made up of its inputs. output a list made up of its inputs. output a list composed of its inputs. output an object which is created by putting the first input at the beginning of the second input. output a new object which is created by placing the first input at the end of the second input. 30

  • 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

30
int
output the integer portion of its input by
removing the decimal portion, if any. No
rounding occurs.
log
output the natural logarithm of its input.
log10
output the base 10 logarithm of its input.
product
output the product of its inputs.
quotient
output the result of dividing the first input
by the second input.
random
output a randomly selected number from
1 through its input.
remainder
output an integer which is the remainder
of dividing the first input by the second.
round
output the number rounded to the nearest
integer.
sin
output the sine of its input.
sqrt
output the square root of its input.
sum
output the result of adding its inputs.
3. Word & List instruction
first
output the first element of its input.
last
output the last element of its input.
butfirst (bf))butfirst
output all but the first element of its input
butlast (bl
)
output all but the last element of its input
word
output a word made up of its inputs.
sentence (se
)
output a list made up of its inputs.
list
output a list composed of its inputs.
firstput (fput
)
output an object which is created by
putting the first input at the beginning of
the second input.
lastput (lput
)
output a new object which is created by
placing the first input at the end of the
second input.