Re: Is there a way to make Mathematica commands and functions
- To: mathgroup at smc.vnet.net
- Subject: [mg93264] Re: Is there a way to make Mathematica commands and functions
- From: peter <pl.0 at me.com>
- Date: Sat, 1 Nov 2008 05:11:56 -0500 (EST)
- References: <ge6nf7$lhs$1@smc.vnet.net> <200810291050.FAA09552@smc.vnet.net>
& 2008/10/31 SaintPatrick <patrickmyu at gmail.com> > David, > > I also hate the shift-enter thing. Right now, if you just hit enter, > Mathematica will go to the next line but won't evaluate. > > If we eliminate the shift and just hit enter to evaluate, what key > would you propose we hit to get to the next line? > > > Cheers, > Patrick > > > On Oct 30, 1:58 am, peter <p... at me.com> wrote: > > ..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 stpatr... 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 > > -- peter lindsay computing officer mathematical institute university of st andrews ky16 9ss phone: 01334-463756 The University of St Andrews is a charity registered in Scotland : No SC013532