Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: Reset In[ ] & Out[ ]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16090] Re: Reset In[ ] & Out[ ]
  • From: dreiss at !SPAMscientificarts.com (David Reiss)
  • Date: Thu, 25 Feb 1999 08:24:53 -0500
  • Organization: EarthLink Network, Inc.
  • References: <7atri7$7n7@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <7atri7$7n7 at smc.vnet.net>, "Dana DeLouis" <dana2 at email.msn.com>
wrote:

> Hello.  I often Insert and delete equations.  Does anyone know of a way to
> reset the In [ ] and Out [ ] numbering system without first closing and then
> reopening the file?  I have had no luck finding this information.  Thank
> you.

If you want to reset the number "n" in the In[n] and Out[n] 
you can just reset the $Line variable to zero.  An example:


In[1]:= Sin[Pi]

Out[1]= 0

In[2]:= Expand[(1-x)^3]

Out[2]= 1 - 3*x + 3*x^2 - x^3

In[3]:= $Line

Out[3]= 3
 
In[4]:= $Line=0

Out[0]= 0

In[1]:= Sin[Pi/2]

Out[1]= 1

Cheers,

David

-- 


   
----------------------------------------
 
Scientific Arts:
Creative Services and Consultation 
for the Applied and Pure Sciences 

David Reiss 
Email: dreiss at !SPAMscientificarts.com 

----------------------------------------
 


Remove the !SPAM to send email


  • Prev by Date: Re: Losing Mathematica password
  • Next by Date: Re: Reset In[ ] & Out[ ]
  • Previous by thread: Re: Reset In[ ] & Out[ ]
  • Next by thread: Re: Reset In[ ] & Out[ ]