MathGroup Archive 1995

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

Search the Archive

What am I doing wrong?


Kemp[z_] := If[z>5,Kemp=gft[z] + 21,Kemp=gft[z] - 21]
gft[z_] := If[z>5,gft=z^2 + 2,gft=z^2 - 2]
Kemp[4]

SetDelayed::write: Tag Integer in (-14)[z_] is Protected.
$Failed
SetDelayed::write: Tag Integer in 7[z_] is Protected.
$Failed
(-14)[4]



  • Prev by Date: Re: A simple swap function
  • Next by Date: String Comparison
  • Previous by thread: Re: Replacing a part of a list/matrix?
  • Next by thread: Re: What am I doing wrong?