MathGroup Archive 2012

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

Search the Archive

Re: What characters are allowed in mathematica variable names? i.e. how

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126025] Re: What characters are allowed in mathematica variable names? i.e. how
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 13 Apr 2012 04:49:32 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

If you insist on using a character as separator, you could use breve, 
typed as Esc bv Esc (without the spaces, of course).

On 4/12/12 2:35 AM, Jesse Perla wrote:
> In other languages like C++, _ is a kosher character to be in variable names.  It is not in mathematica, so things like "my_first_variable" don't work.  I have been using a ` to separate out the words to get things like my`first`variable, but now realize it is creating other issues due to the scoping it introduces.
>
> Are there are other characters I can use to separate out words in variable names?
>
> Thanks
>

-- 
Murray Eisenberg                     murrayeisenberg at gmail.com
80 Fearing Street                    phone 413 549-1020 (H)
Amherst, MA 01002-1912



  • Prev by Date: Re: Deleting expressions containing a certain head
  • Next by Date: computing derivatives and limits
  • Previous by thread: Re: What characters are allowed in mathematica variable names? i.e. how
  • Next by thread: Re: What characters are allowed in mathematica variable names? i.e. how