MathGroup Archive 2008

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

Search the Archive

Re: Variable names in Mathematica

  • To: mathgroup at
  • Subject: [mg92062] Re: Variable names in Mathematica
  • From: Peter Breitfeld <phbrf at>
  • Date: Thu, 18 Sep 2008 07:31:30 -0400 (EDT)
  • References: <gat9lm$egd$>

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

Gruss Peter
Peter Breitfeld, Bad Saulgau, Germany --

  • Prev by Date: Re: How to separate a sum into terms
  • Next by Date: Re: Out[xx] included when saving figures?
  • Previous by thread: Re: Variable names in Mathematica
  • Next by thread: Re: Variable names in Mathematica