MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

argument names


Is there a simple way to get the names of the arguments
within a user-defined function? For example, given:

f[x_] := x^2

I would like a function g such that

g[f] returns x, either as a symbol or a string.



==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Windows 95 Problems
  • Next by Date: Re: How can I change the format of plot labels?
  • Previous by thread: Re: Windows 95 Problems
  • Next by thread: Re: argument names