MathGroup Archive 1997

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

Search the Archive

RE: := vs. =


Have a look in the MMA book and see the difference between Set and =
SetDelayed: for instance:
f[x_]=3DaCertainFunctionOf[data] makes sense if and only if data has =
already been defined. If not, you have to use f[x_]:=3D etc.


-------------------------------------------------------------------------=
------------------
Jean-Marie THOMAS
Conseil et Audit en Ing=E9nierie de Calcul
Strasbourg, France
phone 03 88 32 93 64
email jmthomas at cybercable.tm.fr
web www.cybercable.tm.fr/~jmthomas
-------------------------------------------------------------------------=
------------------

-----Original Message-----
From:	Frank Roescher [SMTP:froesche at dekalb.dc.peachnet.edu]
To: mathgroup at smc.vnet.net
Sent:	mercredi 1 octobre 1997 02:16
To:	mathgroup at smc.vnet.net
Subject:	[mg8858] :=3D vs. =3D


When I define a function on Mathematica, I use f[x_]=3Dxxxxx, without
using a colon.  It seems to work just fine.  Is there a risk in leaving
out the colon?  Thanks.

Frank



  • Prev by Date: Re: trig expansion
  • Next by Date: Re: Sequence is funny !
  • Previous by thread: Re: := vs. =
  • Next by thread: Re: := vs. =