Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'set delayed (:=) forgotten at next startup' topicStudent Support Forum > General > "set delayed (:=) forgotten at next startup"

Next Comment >Help | Reply To Topic
Author Comment/Response
Ueyn
05/01/02 12:32pm

This happens infrequently, but enough that it is quite annoying:

I make a notebook and somewhere within it I have a line such as:

f[x_]:=x^3;

If I evaluate that line and then run f[3] it outputs 27, as it should. If I save the notebook, sometimes when I reopen it the next day and evaluate the above expressions, the output for the second one is "f[3]", not 27. I have to go back to where I set f[x_], erase either the colon or equal sign and reenter it, then evaluate it again for it to work. This gets quite tedious.

Has anyone else had this problem? If I copy the contents of the cell into a new cell and erase the original, it does not fix it. If I copy just the contents to the right of the := and rewrite the left portion and the :=, it does not fix it.

Thanks,
Ueyn

URL: ,

Subject (listing for 'set delayed (:=) forgotten at next startup')
Author Date Posted
set delayed (:=) forgotten at next startup Ueyn 05/01/02 12:32pm
Re: set delayed (:=) forgotten at next startup daiyongming 05/17/02 01:40am
Re: set delayed (:=) forgotten at next startup Forum Modera... 07/01/02 08:21am
Re: set delayed (:=) forgotten at next startup Ueyn 07/01/02 11:41am
Next Comment >Help | Reply To Topic