Next: nbits() Up: MacAnova Help File Previous: mulvarhelp()   Contents


nameof(var1, var2, ... )

Keywords: variables, character variables
nameof(arg1, arg2, ..., argk) returns a CHARACTER vector containing the
names of the arguments.  If an argument is the result of a computation
or is a quoted string, its name will be descriptive.

If an argument is missing, the name returned is "".

  Cmd> nameof(x,cos,17,3+5,vector(x),matrix(run(10),5),,"Hello")
  (1) "x"
  (2) "cos"
  (3) "NUMBER"
  (4) "NUMBER"
  (5) "VECTOR"
  (6) "MATRIX"
  (7) ""
  (8) "STRING"

See also compnames(), isname(), varnames(), rename()

Gary Oehlert 2003-01-15