Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Howto turn off using symbols to tag objects?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46595] Re: Howto turn off using symbols to tag objects?
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Wed, 25 Feb 2004 13:06:51 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 2/24/04 at 9:04 PM, mvdv at spamcop.net (mvyver) wrote:

>Hi, Does anyone know how to turn this feature off? The section in
>the documentation "Using symbols to tag objects" is silent. My
>problem is that when trying to remove alphabet characters from a
>string I'm told that "123k" is a number!!

>NumberQ[ToExpression["123k"]] True

What version of Mathematica are you using?

I get quite different results

In[1]:=
$Version

Out[1]=
5.0 for Mac OS X (June 10, 2003)

In[2]:=
NumberQ[ToExpression["123k"]]

Out[2]=
False

In[3]:=
FullForm@ToExpression@"123k"

Out[3]//FullForm=
Times[123,k]
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Howto turn off using symbols to tag objects?
  • Next by Date: Re: Howto turn off using symbols to tag objects?
  • Previous by thread: Re: Howto turn off using symbols to tag objects?
  • Next by thread: Re: Howto turn off using symbols to tag objects?