Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1993
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1993

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

Search the Archive

Hold[], Evaluate[] and so forth.

  • To: mathgroup <mathgroup at yoda.physics.unc.edu>
  • Subject: Hold[], Evaluate[] and so forth.
  • From: p.kent at imperial.ac.uk
  • Date: Mon, 11 Oct 1993 12:16:25 +0100

Dear MathGroup, I'm currently in a confused state regarding
the use of Hold[], Evaluate[] etc. Is there a good discussion
of this somewhere (apart from "Mma Book" which is a bit vague).

Specifically, I have the following problem: suppose I have a
string containing an expression. I want to get a exact copy
of that as an expression, without any evaluation. I can do:
ToHeldExpression[string]
but this puts a Hold[...] around the result. I can't see any
way of removing the Hold[] without the thing inside getting
evaluated.

On a more general level, is there a way to do an Evaluate[]
to some specified level of an expression, rather than 
recursing all the way down?

Thanks,
Phillip Kent
Transitional Mathematics Project
Imperial College 
London.







  • Prev by Date: Graphics output as input - Final Summation
  • Next by Date: Re: Problems with Eigenvalues[..]
  • Previous by thread: Graphics output as input - Final Summation
  • Next by thread: Re: Hold[], Evaluate[] and so forth.