Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Variable names in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92075] Re: [mg92041] Variable names in Mathematica
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 19 Sep 2008 05:16:55 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200809181013.GAA14828@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

NO, they are NOT reserved.  Example (converted to InputForm, which I'd 
never use when actually entering Greek letters

   \[Alpha]=2;
   \[Alpha]+10
12

Perhaps you're confusing some Greek letters with similarly-shaped 
symbols, such as the Element symbol or the Sum symbol.

amannuc1 wrote:
> 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
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: weird NMaximize behaviour
  • Next by Date: Re: imagesize to full width of current screen
  • Previous by thread: Variable names in Mathematica
  • Next by thread: Re: Variable names in Mathematica