c_getfval - Return the floating point value(s) from a space delimited string

SYNTAX

#include "notae.h"

FUNCTION c_getfval( valuestring, max, numspec, output )

    char    *valuestring;
    long    max;
    long    *numspec;
    float   *output;
    

PARAMETERS

valuestring( input, character string )

Space delimited string of floating point values.

max( input, integer )

The maximum number of values to extract from valuestring.

numspec( output, integer )

The actual number of values extracted from valuestring.

output( output, array of floats )

The values extracted from valuestring and converted to floats.

DESCRIPTION

Up to max values are extracted from valuestring using sscanf(). The values are returned in output.

RETURN VALUE

    E_SUCC (0)  --> success
    E_FAIL (-1) --> failure