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_ADDUBINTEGER VAL_DTOI
A routine suitable for processing by the GENERIC compiler might require equivalent generic declarations:
<TYPE> VAL_ADD<T><TYPE> VAL_DTO<T>
PRIMDAT --- Processing of Primitive Numerical Data