Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9669
| 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-16 10:08 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jmgr2g$peo$1@smc.vnet.net> (permalink) |
For the auto-generated symbol names, let's say you start with some alphabetic stub and then append 6-digit tails; one million distinct names isn't enough? Or start with a few fixed letters for the stub and, complete the stub with 5 arbitrary letters (both upper- and lower-case), then append just 4 digits; that's on the order of 10^12 distinct names. On 4/15/12 3:18 AM, dr DanW 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. -- 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-16 10:08 +0000
csiph-web