Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: Quit versus Clear["Global`*"]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121253] Re: Quit versus Clear["Global`*"]
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Tue, 6 Sep 2011 03:57:23 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201109042206.SAA21533@smc.vnet.net>
  • Reply-to: drmajorbob at yahoo.com

I, on the other hand, never saw Quit[] until this thread began.

I suppose it figures that if Quit kills the kernel, then also Quit[any  
arguments or none] might also kill the kernel. (The other way 'round  
doesn't necessarily "figure", on the other hand.)

Bobby

On Mon, 05 Sep 2011 07:44:17 -0500, Andrzej Kozlowski <akoz at mimuw.edu.pl>  
wrote:

> Actually (as far as I can tell) Quit is undocumented but Quit[] is:
>
> ?Quit
> Quit[] terminates a Mathematica kernel session.
>
> I thought you had made a mistake but I tired just Quit (without the  
> brackets) and was surprised (after all these years!) to see it work. I  
> am wondering if there are more cases like this?
>
> Andrzej Kozlowski
>
> On 5 Sep 2011, at 13:06, DrMajorBob wrote:
>
>> No. For that, you need:
>>
>> Quit
>>
>> Bobby
>>
>> On Sun, 04 Sep 2011 17:06:32 -0500, Themis Matsoukas <tmatsoukas at me.com>
>> wrote:
>>
>>> So, if I use ClearAll["Global`*"] at the beginning of a notebook and
>>> execute all the cells, is it the same as running on a fresh kernel?
>>>
>>> Themis
>>>
>>
>>
>> --
>> DrMajorBob at yahoo.com
>>
>


-- 
DrMajorBob at yahoo.com




  • Prev by Date: Re: Quit versus Clear["Global`*"]
  • Next by Date: How to generate report with Mathematica script from command line (no front end)
  • Previous by thread: Re: Quit versus Clear["Global`*"]
  • Next by thread: Re: Quit versus Clear["Global`*"]