MathGroup Archive 1995

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

Search the Archive

What am I doing wrong?

  • Subject: [mg2181] What am I doing wrong?
  • From: JSNW at msg.ti.com (Jason Welter)
  • Date: Fri, 13 Oct 1995 06:22:54 GMT
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Texas Instruments
  • Sender: daemon at wri.com ( )

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?