Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: What characters are allowed in mathematica variable names? i.e. how
Replies: 6   Last Post: Apr 18, 2012 3:54 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Daniel Warren

Posts: 144
Registered: 5/16/07
Re: What characters are allowed in mathematica variable names? i.e. how
Posted: Apr 15, 2012 3:20 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.

Daniel




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.