Re: Help Defining Variables (with long names)
- To: mathgroup at smc.vnet.net
- Subject: [mg16797] Re: Help Defining Variables (with long names)
- From: phbrf at t-online.de (Peter Breitfeld)
- Date: Tue, 30 Mar 1999 02:35:07 -0500
- Organization: das ist ein breites Feld ...
- References: <7d73sq$dvv@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Gutierrez Family <gutierrez_fam at geocities.com> schrieb:
> Hello to all.
>
> 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
Daly,
Underscores are used for pattern matching, so you can't separate long
names with underscores. Use Capitals instead:
liquidDensityOfEthyleneGlycol=1.114
es gruesst
Peter
--
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
Peter Breitfeld, Saulgau, Germany (PGP public key: 08548045)