MathGroup Archive 1999

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

Search the Archive

Re: Help Defining Variables (with long names)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16880] Re: [mg16720] Help Defining Variables (with long names)
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 5 Apr 1999 02:24:20 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

>What is the best way to declare variable with a 'long name'?  I am
>currently using the underscore to separate the words.  For example:
>
>liquid_density_of_ethylene_glycol=1.114


There is another solution to this problem besides using caps and
jamming the words together as LiquidDensityOfEthyleneGlycol.

There are a number of letter-like forms which can  be used as
separators in long names. These are described in Section 3.10 of the
Mathematica Book, pages 917 and 919. They consist of letter-like forms
such as \[UnderBracket], \[VerticalEllipsis] etc., or diacritical
marks such as \[Breve] or \[DownBreve]. They are available at the
bottom of  the Textual Forms section of the CompleteCharacters
palette. They are not quite as convenient as a direct keyboard
character, but if one really wants word separators they look nice and
serve the purpose.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/




  • Prev by Date: Re: Re: controlling the size of tick marks
  • Next by Date: RE: extracting lhs or rhs of equations
  • Previous by thread: Re: binomial distribution
  • Next by thread: Re: Help Defining Variables (with long names)