Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Help with HoldAll needed

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100891] Help with HoldAll needed
  • From: Erich Neuwirth <erich.neuwirth at univie.ac.at>
  • Date: Wed, 17 Jun 2009 04:45:35 -0400 (EDT)

I define

MyFun[x_]:=Unevaluated[x]
SetAttributes[MyFun,HoldAllComplete]


MyFun[2 = 3]
still evaluated the argument and of course produces an error
I would like to get the unevaluated expression to be able
to separate the first argument.

In fact, I would like MyFun to be a macro which allows me
to play list processing games with the arguments.

How can this be accomplished?


  • Prev by Date: Re: What should be a simple task....
  • Next by Date: Re: how to _paste_ hyperlink into notebook
  • Previous by thread: Re: Huge wide plot placing into a pane
  • Next by thread: Re: Help with HoldAll needed