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: [mg16770] Re: [mg16720] Help Defining Variables (with long names)
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 24 Mar 1999 02:24:08 -0500
  • 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


This won't work because the underscore has a defined meaning in
Mathematica. It signifies a pattern. See Section 2.3 in the
Mathematica Book. Also see Section A.1.2 on the form for symbols. You
could use something like the following.

LiquidDensityEthyleneGlycol
or liquiddensity[EthyleneGlycol]

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



  • Prev by Date: Help Defining Variables (with long names)
  • Next by Date: RE: Fitting a piecewise continuous Function
  • Previous by thread: Help Defining Variables (with long names)
  • Next by thread: Re: Help Defining Variables (with long names)