MathGroup Archive 2001

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

Search the Archive

displaying unevaluated arguments

  • To: mathgroup at
  • Subject: [mg31115] displaying unevaluated arguments
  • From: "Mark S. Coleman" <mcoleman at>
  • Date: Wed, 10 Oct 2001 19:14:34 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


Is there a simple way to create the string form of an argument passed 
to a function/module? For instance, let

f[x_] := Module[ Some Mathematica Code... .];

Assume that y is defined as a list of numbers. If I evaluate


I would like to get back   "{y^2,Sin[y],Log[y],Map[Cos[#]&,y]}" ,
rather than the evaluated numerical values. When I create a function, 
HoldForm does not seem to work. The arguement is always evaluated



  • Prev by Date: JSP to MSP
  • Next by Date: What variables are in a function and displaying surds
  • Previous by thread: JSP to MSP
  • Next by thread: Re: displaying unevaluated arguments