Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: unexpected output order in notebook (Mathematica 9; bug?)
Posted:
Apr 1, 2013 12:56 AM


I too have been puzzled by this behavior, some time ago. It seems that results of some expressions in a cell do not appear in the proper (expected) order. I would hope that some one by now would have explained why.
As a workaround for the original poster, the "correct" or "expected" sequence of output can be produced by appending "//Print" to the "offending" statements. Consider these pairs:
a*b "test"
a*b//FortranForm "test"
a*b//FortranForm//Print "test"
If you put them in the same cell (possibly with other interspersed expressions), the sequence of printed information produced is a confusing tangle. Why is such puuzzling behavior not a bug? (I assume it is not a bug).
On Thu, Mar 7, 2013 at 7:51 PM, Alan <alan.isaac@gmail.com> wrote:
> Is the following reversal of output order normal behavior for Mathematica? > (Note too the missing label for the second output.) > Thanks, > Alan Isaac > > > In[253]:= Clear[a, b] > a*b // FortranForm > "test" > > Out[255]= "test" > > a*b > >



