Re: Variable names in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg92065] Re: Variable names in Mathematica
- From: magma <maderri2 at gmail.com>
- Date: Fri, 19 Sep 2008 05:15:03 -0400 (EDT)
- References: <gat9lm$egd$1@smc.vnet.net> <gate6t$gvu$1@smc.vnet.net>
On Sep 18, 1:31 pm, Peter Breitfeld <ph... at t-online.de> wrote: > amannuc1 schrieb: > > > Dear Community, > > > I can't seem to get an answer to this simple question: are greek letter= s > > allowed as variable names in Mathematica? I have tried this with limite= d > > success (v 5.2). It seems that some greek letters are reserved, for exa= mple > > alpha. I am not sure about that. Any insight is appreciated. Thanks! > > > -Tony > > for variable names you can use all latin, greek, script and gothic > letters. Exceptions are the "one letter" functions or constants: > C, D, E, I, K, N, O and $, which are protected. > > K isn't protected, but lives in the System` context and is used > internally e.g. as summation variable. It will not be cleared with > Clear["Global`*]. > > Gruss Peter > -- > ==-==-==-==-==-==-==-==-==-==-== =-==-==-==-==-==-==-==-==-==-==-= == > Peter Breitfeld, Bad Saulgau, Germany --http://www.pBreitfeld.de .....and of course greek Pi is protected too.