MathGroup Archive 1996

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

Search the Archive

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


  • 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