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

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: [mg126085] Re: What characters are allowed in mathematica variable names? i.e. how
  • From: James Stein <mathgroup at stein.org>
  • Date: Mon, 16 Apr 2012 06:07:20 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Another possibility: characters with various marks, such as cedilla or
umlaut, can also be used in characters. Depending on taste, they may look
better or worse that $, but have the advantage of no conflicting with
Mathematica's use of $.

On Sun, Apr 15, 2012 at 12:18 AM, dr DanW <dmaxwarren at gmail.com> wrote:

> David,
> Don't forget that Workbench is also a perfectly legitimate platform for
> working in Mathematica, and primarily displays in ASCII. Programming with
> these Unicode characters with the ungainly \[...] names is a serious pain,
> and makes for uniquely unreadable code.
>
> Also, camel case is fine when just typing symbol names, but I am currently
> working on an application where I need to generate symbol names.  Without
> some kind of delimiting character, some of the generated names may conflict
> or not be readable.  I ended up using $ out of sheer necessity, as it is on
> e of the few ASCII non- alphanumeric characters available for naming.
>
> Daniel
>
>


  • Prev by Date: Re: dynamically generating options
  • Next by Date: Accessing results in ParallelDo
  • 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