|
[Date Index]
[Thread Index]
[Author Index]
Re: What characters are allowed in mathematica variable names? i.e. how
- To: mathgroup at smc.vnet.net
- Subject: [mg126027] Re: What characters are allowed in mathematica variable names? i.e. how
- From: Yi Wang <tririverwangyi at gmail.com>
- Date: Fri, 13 Apr 2012 04:50:14 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jm64l6$6lq$1@smc.vnet.net>
It's an interesting question. I also tried to find the answer. The only character that I found is $. Say you can write my$first$variable. But anyway I am more used to myFirstVariable than $.
Best,
Yi
On Thursday, April 12, 2012 4:44:22 AM UTC-4, 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?
>
> Thanks
Prev by Date:
Re: What characters are allowed in mathematica variable names? i.e. how
Next by Date:
Re: Deleting expressions containing a certain head
Previous by thread:
Re: What characters are allowed in mathematica variable names? i.e. how
Next by thread:
Re: What characters are allowed in mathematica variable names? i.e. how
|