Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!wam!rgc From: rgc@wam.umd.edu (Ross Garrett Cutler) Newsgroups: comp.sys.next Subject: Re: Mathematica feature? Message-ID: <1990Nov18.005337.7649@wam.umd.edu> Date: 18 Nov 90 00:53:37 GMT References: <9011172105.AA04805@nextasy2.eecs.wsu.edu> Sender: usenet@wam.umd.edu (USENET Posting) Reply-To: rgc@wam.umd.edu (Ross Garrett Cutler) Organization: University of Maryland at College Park Lines: 43 In article <9011172105.AA04805@nextasy2.eecs.wsu.edu> schneidj@NEXTASY2.EECS.WSU.EDU (John B. Schneider) writes: >I thought Mathematica could accommodate line breaks (introduced with >the RETURN key). However, I get the incorrect results from the following >simple addition. What am I missing? > >In[1]:= > >.5 >+ 1. > >Out[1] >1. > >I know that putting the operator at the end of the first line will >give the correct result. As in > >In[2]:= > >.5 + >1. > >Out[2] >1.5 > >But when adding a column of numbers, it is nice to have the +/- sign >immediately before the argument. > >-- >John B. Schneider >schneidj@nextasy2.eecs.wsu.edu Mathematica will wait for additional input if it you don't have a complete expression when you press . It is therefore a common trick to start with a "(", enter a lot of stuff, and then end with a ")". Of course, on the NeXT, you need to end with a shift-return. Hope this helps... -- Please email -- I'll summarize. Ross Cutler University of Maryland, College Park Internet: rgc@wam.umd.edu