Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9593
| From | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: What characters are allowed in mathematica variable names? i.e. how |
| Date | 2012-04-13 08:52 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jm8pfu$isv$1@smc.vnet.net> (permalink) |
Why not just camel-case? E.g.: myFirstVariable. On 4/12/12 2:35 AM, Jesse Perla wrote: > 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? -- Murray Eisenberg murrayeisenberg@gmail.com 80 Fearing Street phone 413 549-1020 (H) Amherst, MA 01002-1912
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: What characters are allowed in mathematica variable names? i.e. how Murray Eisenberg <murray@math.umass.edu> - 2012-04-13 08:52 +0000
csiph-web