argument names

*To*: mathgroup at smc.vnet.net*Subject*: [mg3713] argument names*From*: Andrew Watson <beau at vision.arc.nasa.gov>*Date*: Wed, 10 Apr 1996 02:12:25 -0400*Sender*: owner-wri-mathgroup at wolfram.com

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] ====