next up previous contents
Next: THE VEC_ ROUTINES
Up: THE VAL_ FUNCTIONS
Previous: VAL_ Type Conversion Functions

Declaring the VAL_ Functions

Since the VAL_ functions return a result via the routine name, appropriate declarations of their Fortran type must be made before they are used. Thus, for instance, an application which used the routines VAL_ADDUB and VAL_DTOI would require the declarations:

BYTE VAL_ADDUB
INTEGER VAL_DTOI

A routine suitable for processing by the GENERIC compiler might require equivalent generic declarations:

<TYPE> VAL_ADD<T>
<TYPE> VAL_DTO<T>


next up previous contents
Next: THE VEC_ ROUTINES
Up: THE VAL_ FUNCTIONS
Previous: VAL_ Type Conversion Functions

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