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 here.

For details about warnings or fatal errors when a Coefficient goes out of its specified range, see here.

Go back to
GEMPACK FAQ Page