#include "terrno.h" #include "gp.h" float *readfloat(var) VARP var;
readfloat reads all elements of the variable var and scales the values to float. The function allocates its own memory and returns a pointer to the data. Stored bad-values and values outside [usemax, usemin] (datasets) are converted to GP_BAD_FLOAT. Does not support string variables. Compare with gpgetscaled.
Returns data pointer when successful, and NULL if unsuccessful with terrno set to the appropriate error code.
include/gp.h, include/terrno.h, lib/libapp.a
gpvar, gpgetvar, gpgetscaled, datasets
None.
Last Update: $Date: 1999/05/10 20:57:03 $