Carriage return
- To: mathgroup at yoda.physics.unc.edu
- Subject: Carriage return
- From: kjell blotekjaer <Blotekjar at unit.no>
- Date: Thu, 30 Apr 1992 11:13:13 +0000
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