MathGroup Archive 2001

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

Search the Archive

problem with symbol and function declaration


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