MathGroup Archive 2009

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

Search the Archive

Re: Help with Hold


Hi,

(Hold[x, Null, y, Null, Null] /.
    a_Symbol /; FreeQ[Names["System`*"], ToString[Unevaluated[a]]] :>
     ToString[Unevaluated[a]]) /. Hold -> List

?
Regards
   Jens

Erich Neuwirth wrote:
> How can I transform
> Hold[x,Null,y,Null,Null]
> into
> {"x",Null,"y",Null,Null}
> even if x and/or y have assigned values?
> 


  • Prev by Date: Re: Help with Hold
  • Next by Date: Re: Manipulate function
  • Previous by thread: Re: Help with Hold
  • Next by thread: Re: Help with Hold