MathGroup Archive 2004

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

Search the Archive

RE: Unexpected behaviour of HoldRest


>(unless it had the SequenceHold or HoldAllComplete attribute, but it has
>neither of them)
Which is very unfortunate, and it has been suggested in the past that SequenceHold
should be added to If.
Until this suggestion hopefully gets realized
in a future Mathematica version I use work-arounds like:

ReleaseHold[If[1 == 1, Hold[Sequence][], 2]]

Cheers,

Rolf Mertig
Mertig Consulting
http://www.mertig.com


  • Prev by Date: rendering under linux
  • Next by Date: problems with font display
  • Previous by thread: Re: Re: Unexpected behaviour of HoldRest
  • Next by thread: Re: RE: Unexpected behaviour of HoldRest