MathGroup Archive 2010

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

Search the Archive

Re: Retrieving orphaned code

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109072] Re: Retrieving orphaned code
  • From: "becko" <becko565 at hotmail.com>
  • Date: Mon, 12 Apr 2010 06:55:15 -0400 (EDT)
  • References: <201004110833.EAA06885@smc.vnet.net>

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 earthlink.net>
Sent: Sunday, April 11, 2010 3:33 AM
To: <mathgroup at smc.vnet.net>
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