MathGroup Archive 2008

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

Search the Archive

Re: Re: Is there a way to make Mathematica commands and functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93169] Re: [mg93163] Re: Is there a way to make Mathematica commands and functions
  • From: peter <pl.0 at me.com>
  • Date: Thu, 30 Oct 2008 02:00:03 -0500 (EST)
  • References: <ge6nf7$lhs$1@smc.vnet.net> <200810291050.FAA09552@smc.vnet.net>

..and can we get rid of the shift-enter thing ? I'm getting exhausted typing
both these keys each time.
Peter

2008/10/29 David Bailey <dave at remove_thisdbailey.co.uk>

> stpatryck wrote:
> > Hello All,
> >
> > I'm a newbie to Mathematica and find having to capitalize Mathematica
> > commands and functions somewhat annoying.
> >
> > Is there some way or program or module or notebook or whatever out
> > there that will make Mathematica accept lower case commands and
> > functions without my having to redefine all the functions?
> >
> > Please e-mail me at stpatryck at gmail.com with any suggestions or
> > solutions.
> >
> > Thanks very much in advance.
> >
> >
> There is nothing to stop you defining your own commands to do the things
> that you want. The capitalisation mechanism is designed to avoid clashes
> between your commands and variable names and system ones. For example,
> prior to version 6, the was no command called Manipulate, so if you had
> written something using that name, it would have stopped working when
> you installed v 6.
>
> For simple functions, your private definitions can be as simple as
>
> sin=Sin;
>
> but you need to take a bit more care with commands that use non-standard
> evaluation - such as If.
>
> Remember that you can place useful initialisations in the kernel init.m
> file to get them pre-evaluated before every run, or you can start each
> notebook with a command such as Get[<some file of initialisation code>].
> You absolutely don't need to start from scratch each time!
>
> David Bailey
> http://www.dbaileyconsultancy.co.uk
>
>


  • Prev by Date: Mathematica Special Interest Group (Washington DC Area)
  • Next by Date: Re: Re: Hypergeometric2F1
  • Previous by thread: Re: Is there a way to make Mathematica commands and functions
  • Next by thread: RE: Re: Re: Is there a way to make Mathematica commands and functions