Getting Warnings or Errors if a Coefficient Becomes Negative

I want to be warned (or get a fatal error) if a coefficient becomes negative. How can I do that?

You can tell TABLO that you expect all (or most) Coefficients to be positive (or nonnegative) by putting the statement
Coefficient(DEFAULT=LOWER_BOUND GE 0) ;
near the start of your TAB file.

Then, if any Coefficient becomes negative, you will see a warning when GEMSIM or the TABLO-generated program runs.

If you want a fatal error, include a statement of the form
range test initial values = yes ;
in your Command file.

For details about the LOWER-BOUND default statement, see section 8.2 of GEMPACK document GPD-5. [This feature was introduced in Release 9 (April 2005) of GEMPACK.]

For details about warnings or fatal errors when a Coefficient goes out of its specified range, see section 6.4 (especially subsection 6.4.4) of GEMPACK document GPD-3.

Go back to
GEMPACK FAQ Page