Re: Variable names in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg92062] Re: Variable names in Mathematica
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Thu, 18 Sep 2008 07:31:30 -0400 (EDT)
- References: <gat9lm$egd$1@smc.vnet.net>
amannuc1 schrieb: > Dear Community, > > I can't seem to get an answer to this simple question: are greek letters > allowed as variable names in Mathematica? I have tried this with limited > success (v 5.2). It seems that some greek letters are reserved, for example > 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