MathGroup Archive 1998

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

Search the Archive

modifying built-in objects in init.m

     I would like to change the Information on a built-in symbol, so
     when I type ?Whatever, it displays a message of my choice.  In 
     general, I might like to override or add to built-in symbols with 
     definitions of my choice.
     I opened the Mathematica\3.0\Configuration\Kernel\init.m file as a 
     package and inserted a line:
       "Function[body] or body& is a pure function. The formal
     are # (or #1), #2, etc. Function[x, body] is a pure function with a

     single formal parameter x. Function[{x1, x2, ... }, body] is a pure

     function with a list of formal parameters.
     is a pure function with a list of attributes.";
     Then Saved As Special:Package Format
     However, this does not change the usage message printed for
     Am I in the wrong init.m?
     Is the kernel overwriting my definition?
     How do I get the kernel to recognize my instructions and not
     The goal here is a general mechanism for customizing built-in
     on kernel start up that will happen automatically.
     Thanks, Sean Ross
     Please respond to seanross at or rosss at as
     no longer subscribe to mathuser.

  • Prev by Date: Very slow graphics rendering
  • Next by Date: Postscript utility
  • Previous by thread: Re: Very slow graphics rendering
  • Next by thread: Nonlinear Differential Equation