Re: Using \[Breve] as a substitute for underscore
- To: mathgroup at smc.vnet.net
- Subject: [mg91011] Re: [mg90998] Using \[Breve] as a substitute for underscore
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sun, 3 Aug 2008 05:33:18 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200808020727.DAA24966@smc.vnet.net>
- Reply-to: murray at math.umass.edu
I suspect that most folks use what Mathematica itself uses for multi-word names: "camel-case" MassOfEarth=5.97*^24 or, if you don't want to infringe upon a possible built-in name, massOfEarth=6.97*^24 It's a LOT quicker to type than using \[Breve] or its shortcut [esc]bv[esc]. Steven Siew wrote: > In mathematica you cannot use underscore _ as part of a variable name > as you could in other computer languages. > > Has anyone tried using \[Breve] as an underscore substitute instead. > > for example: > > mass\[Breve]of\[Breve]earth = 5.97*^24 > > or > > mass[esc]bv[esc]of[esc]bv[esc]earth = 5.97*^24 > > I kinda like "breve" because it looks like the standard underscore > character. > > What other characters do other people uses? > > Steven Siew > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Using \[Breve] as a substitute for underscore
- From: Steven Siew <stevensiew2@gmail.com>
- Using \[Breve] as a substitute for underscore