MathGroup Archive 2002

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

Search the Archive

Re: Why doesn't it work?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38470] Re: Why doesn't it work?
  • From: atelesforos at hotmail.com (Orestis Vantzos)
  • Date: Wed, 18 Dec 2002 01:54:07 -0500 (EST)
  • References: <atjv36$ls4$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

% maps to the output of the previous cell NOT the previous expression.
So if you evaluate:
In[1]:= expr1
Out[1]:= out1

In[2]:= expr2;%
Out[2]:= out1

..and not out2.
My advice:
when you program in Mathematica even the simplest of functions, forget %. 
It's a bug waiting to happen..
Orestis

"Konrad Den Ende" <konrad at voxway.com> wrote in message news:<atjv36$ls4$1 at smc.vnet.net>...
> When i go:
> 
> f1[x_] := something
> tmp = int(f1[x])dx
> f2[x_] = tmp
> 
> then everything is nice but this:
> 
> f1[x_] := something
> tmp = int(f1[x])dx
> f2[x_] = %
> 
> just won't work. Apparetly Mathematica believes
> that "%" mean the thing i did BEFORE the integral!
> How come?
> 
> --
> 
> Vänligen
> Konrad
> -------------------
> phone #1:  (+46/0) 708 - 70 73 92
> phone #2: (+46/0) 704 - 79 96 95
> url: http://konrads.webbsida.com
> e-mail: konrad at voxway.com
> -------------------


  • Prev by Date: Re: Memory Leak with KSubsets?
  • Next by Date: Surface fitting question
  • Previous by thread: Why doesn't it work?
  • Next by thread: Re: Re: Why doesn't it work?