On Dec 4, 2008, at 2:22 PM, Tim Lahey wrote:

>
> On Dec 4, 2008, at 5:18 PM, William Stein wrote:
>>
>> This is probably off topic, but you can always get any Sage global
>> variable you're used to by doing sage.all.varname.  For example:
>>
>> sage: I = 5
>> sage: I
>> 5
>> sage: sage.all.I
>> I
>>
>
> Good to know. Is there a way for Sage to do a reset, along the lines
> of a MATLAB clear or a Maple restart? That is, forgets all expressions
> and variables as if the session was brand new?

Yes.

sage: I = 5
sage: I
5
sage: reset()
sage: I
I

- Robert

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to