MathGroup Archive 2010

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

Search the Archive

Re: Retrieving orphaned code

Perhaps you can try something like:

f[x_] := x^2

?? f

The line input ??f should return the code to your function.

From: "Michael Young" <michaelcharlesyoung at>
Sent: Sunday, April 11, 2010 3:33 AM
To: <mathgroup at>
Subject: [mg109072] [mg109046] Retrieving orphaned code

> 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: for loop outside a do cicle
  • Next by Date: Re: Bug in PadLeft/PadRight
  • Previous by thread: Retrieving orphaned code
  • Next by thread: Re: Retrieving orphaned code