Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

RE: := vs. =

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8896] RE: [mg8858] := vs. =
  • From: Jean-Marie THOMAS <jmthomas at cybercable.tm.fr>
  • Date: Thu, 2 Oct 1997 22:56:49 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

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. =