
29
2. Mathematics Commands
abs
n
output the absolute value of its input.
arctan
n
output the arctangent of its input.
cos
n
output the cosine of its input.
expn
n
calculate the natural base e (2.71828...) raised to
the power specified by its input.
int
n
output the integer portion of its input by
removing the decimal portion, if any.
No rounding occurs.
log
n
output the natural logarithm of its input.
log10
n
output the base 10 logarithm of its input.
product
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.
quotient
m n
output the result of dividing the first input by the
second input.
random
n
output a randomly selected number from 0
through its input.
remainder
m n
output an integer which is the remainder of
dividing the first input by the second.
round
n
output the number rounded to the nearest
integer.
sin
n
output the sine of its input.
sqrt
n
output the square root of its input.
sum
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.
3. Word & List Commands
first
n
output the first element of its input.
last
n
output the last element of its input.
butfirst
(bf)
n
output all but the first element of its input
butlast
(bl)
n
output all but the last element of its input
word
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.
sentence
(se)
m n
output a list made up of its inputs. SENTENCE
expects two inputs, but will accept more if it and
its inputs are enclosed in parentheses.
list
m n
output a list composed of its inputs. LIST expects
two inputs, but can accept more if it and its inputs
are enclosed in parentheses.
Summary of Contents for Power Zone Plus Desktop
Page 1: ......