Next: enterchars() Up: MacAnova Help File Previous: elseif   Contents

enter()

Usage:
x <- enter(val1 val2 val3 ...) , valI a number or ?, no separating
  commas



Keywords: input
x <- enter(val1 val2 ...) is equivalent to x <- vector(val1, val2, ...)
allowing easy entry of data without the need to type commas.  val1,
val2, ... should be numbers or ?, not expressions or function values.

Example:
  Cmd> wts <- enter(145.2 162.1 133.5 121.9 99.8 188.9)
or
  Cmd> wts <- enter(1452 1621 1335 1219 998 1889)/10
These are equivalent, but the second avoids the need to type decimal
points.

enter() is implemented as a pre-defined macro using vecread().

See also topics vecread(), enterchars().


Gary Oehlert 2003-01-15