MathGroup Archive 2010

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

Search the Archive

Re: Retrieving orphaned code


In[9]:= f[x_] := x

In[10]:= UpValues[f]

Out[10]= {}

In[11]:= DownValues[f]

Out[11]= {HoldPattern[f[x_]] :> x}

In[12]:= ?? f

Global`f

f[x_]:=x



--David

On Apr 11, 4:33 am, Michael Young <michaelcharlesyo... at earthlink.net>
wrote:
> Hello,
>
> I seem to have accidentally 'orphaned' three functions i built .
>
> That is, the code is still active in memory, and the function name  
> shows in black and displays its intended data ; however, the file's  
> copies of the functions' source-code have been modified and recompiled 
> under different names, for different purposes .
>
> Is there a way to retrieve function source-code in Mathematica ?
>
> Michael



  • Prev by Date: Re: if using Mathematica to solve an algebraic problem
  • Next by Date: Re: Retrieving orphaned code
  • Previous by thread: Re: Retrieving orphaned code
  • Next by thread: Re: Retrieving orphaned code