MathGroup Archive 1992

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

Search the Archive

Carriage return


The way Mathematica (on a Mac) handles carriage returns within 
an input cell is strange. For example:

In[1]:=

    2+
    3

Out[1]=

    5

In[3]:=

    2
    +3

Out[2]=

    2

Out[3]=

    3

This was different in earlier versions. What is the rule used 
for handling carriage returns? 

The real bad thing is that in some cases Mathematica does not 
understand input which is generated by Mathematica itself. It 
has happened several times when I have used the command Copy 
Output From Above to generate an unformatted input cell from a 
rather long output, that Mathematica has interpreted the input 
erroneously, because of carriage returns. (This happened with 
version 1.2. I do not have enough experience with 2.0 yet). 
Why not just neglect carriage returns?

Kjell Blotekjar





  • Prev by Date: Re: $Path variable
  • Next by Date: importing PS files into Mma
  • Previous by thread: Legendre functions
  • Next by thread: importing PS files into Mma