Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Begginer's question: Saving a function for later use

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128037] Begginer's question: Saving a function for later use
  • From: pedro.roberto at campus.ul.pt
  • Date: Mon, 10 Sep 2012 04:05:40 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Hello,
I'm just getting started on Mathematica and trying to define a function for later use. The function is just:

test[x_]:=x^2

While I don't close mathematica, I can use the function on my notebooks but when I close it, the function disappers, I tried to save a .m file with it but It didn't work. What do I do?

Thanks for time,
Pedro



  • Prev by Date: Re: How on Earth?
  • Next by Date: Re: How to simplify certain covariance expressions using
  • Previous by thread: Re: DiagramPlot and PlanarGraphPlot colors
  • Next by thread: Re: Begginer's question: Saving a function for later use