Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Avoiding Null output marker from a function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92388] Avoiding Null output marker from a function
  • From: amannuc1 <Anthony.J.Mannucci at jpl.nasa.gov>
  • Date: Tue, 30 Sep 2008 07:35:30 -0400 (EDT)

Dear Mathematica community,

I am having difficulties that the documentation has not resolved to
date for me. It is this:

I have defined a function in a Mathematica notebook and then saved it
as text to include it in a package. The package currently contains two
functions. The function of interest returns a 2-element list. The
numbers the function computes appears to be OK, but an annoying
"Null^3" is appended, presumably as a placeholder for supressed
output. Something like:

\!\({\(-0.00005337553998992267`\)\ Null\^3, 5000.147261086986`\ Null
\^3}\)

I would like to eliminate that from the output. When I run the
function from the notebook, no such 'Null's are seen. The function
consists of several steps, intermediate variables, a call to FindRoot,
etc. Semicolons separate these steps, as required.

Your help is greatly appreciated.

-Tony


  • Prev by Date: Re: convex optimization
  • Next by Date: Re: A Package Function Tutorial
  • Previous by thread: Re: Comparison between Mathematica and other symbolic systems
  • Next by thread: Re: Avoiding Null output marker from a function