Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11708
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Begginer's question: Saving a function for later use |
| Date | 2012-09-11 07:10 +0000 |
| Message-ID | <k2mo4n$551$1@smc.vnet.net> (permalink) |
| References | <k2k85s$16k$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
On 9/10/2012 3:25 AM, pedro.roberto@campus.ul.pt wrote: > 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 > Just save the notebook. It will have extension .nb File->Save As-> foo.nb Then when you open foo.nb again, the function will be there. --Nasser
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Begginer's question: Saving a function for later use pedro.roberto@campus.ul.pt - 2012-09-10 08:25 +0000 Re: Begginer's question: Saving a function for later use "Nasser M. Abbasi" <nma@12000.org> - 2012-09-11 07:10 +0000
csiph-web