Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

problem with symbol and function declaration

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30200] problem with symbol and function declaration
  • From: "Martin Richter" <mrMICE.fi at cbs.dk>
  • Date: Thu, 2 Aug 2001 03:15:55 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi

OverBar[x]=2;
test[x_] = 2*OverBar[x]*x;
test[1]

gives
 _
21

and not 4. So it is like Mathematica is looking at OverBar[x] as two symbols
and not one ?
Maybe it is a silly idea so use non ASCII letters for variables.

Thanks for any comments
Martin

---------------------------------------
Please remove PET to reply by email




  • Prev by Date: Re: How to clear OverBar[p]
  • Next by Date: Re: Applying List of Functions To List Of Arguments
  • Previous by thread: Re: "No more memory "
  • Next by thread: Re: problem with symbol and function declaration