next up previous contents
Next: VAL_ Arithmetic and Mathematical Functions
Up: THE VAL_ FUNCTIONS
Previous: Applicability & Efficiency


VAL_ Error Handling

The error handling strategy used by the VAL_ routines consists of returning a bad function result under the following circumstances:

  1. If STATUS is not set to SAI__OK when the function is invoked.

  2. If the BAD argument is set to .TRUE. and any of the input arguments is bad.

  3. If any numerical error occurs during evaluation of the function -- in this latter case an appropriate error code will also be returned via the STATUS argument.



next up previous contents
Next: VAL_ Arithmetic and Mathematical Functions
Up: THE VAL_ FUNCTIONS
Previous: Applicability & Efficiency

PRIMDAT --- Processing of Primitive Numerical Data
Starlink User Note 39
R F Warren-Smith
28 February 1995
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council