MathGroup Archive 2005

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

Search the Archive

Testing whether code is run in batch mode

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61786] Testing whether code is run in batch mode
  • From: Marcus Stollsteimer <marcus314 at yahoo.com>
  • Date: Sun, 30 Oct 2005 00:43:16 -0400 (EDT)
  • Organization: Comp.Center (RUS), U of Stuttgart, FRG
  • Sender: owner-wri-mathgroup at wolfram.com

Hi group,

is there a builtin function or variable that tests if a calculation is
done in the Front End or in batch mode?

right now I use as a workaround

  BatchQ = Notebooks[] === $Failed;

Regards,
Marcus


-- 
[...] which will be published posthumously or after his death,
which ever comes first. -- W. Allen


  • Prev by Date: Re: A Problem with the NonlinearFit?
  • Next by Date: Re: GreaterEqual[x,1] shows up as Greater[x,1]
  • Previous by thread: Re: New LinkageDesigner application for mechanical design with Mathematica
  • Next by thread: Simplify further