MathGroup Archive 2010

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

Search the Archive

Re: Retrieving orphaned code

  • To: mathgroup at
  • Subject: [mg109052] Re: Retrieving orphaned code
  • From: Albert Retey <awnl at>
  • Date: Mon, 12 Apr 2010 06:51:33 -0400 (EDT)
  • References: <hps1gg$6mk$>


> 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 ?

If they are not ReadProtected it is easy:


If you don't use UpValues or SubValues, this will also give the function




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