MathGroup Archive 2012

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126001] What characters are allowed in mathematica variable names? i.e. how
  • From: Jesse Perla <jesseperla at gmail.com>
  • Date: Thu, 12 Apr 2012 02:35:24 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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 



  • Prev by Date: troublesome integral
  • Next by Date: Re: Intersection problem
  • Previous by thread: Re: troublesome integral
  • Next by thread: Re: What characters are allowed in mathematica variable names? i.e. how