MathGroup Archive 2011

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

Search the Archive

Re: Custom Autoloaded Functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116950] Re: Custom Autoloaded Functions
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sat, 5 Mar 2011 06:07:33 -0500 (EST)

On 3/4/11 at 3:38 AM, forpeopleidontknow at gmail.com (Just A Stranger)
wrote:

>If I have a function I wrote that I use often, is there a way to
>write that function in a file that loads it autotmatically every
>time I start a new notebook session? What is the best way to go
>about this?

Put the code for the function in the file init.m found in the directory returned by

ToFileName[$UserBaseDirectory,"Kernel"]

All code in this file is executed at start up.



  • Prev by Date: Is it possible to change TimeZone globally?
  • Next by Date: Re: evaluation-- one or many levels, your thoughts?
  • Previous by thread: Custom Autoloaded Functions
  • Next by thread: Re: Custom Autoloaded Functions