Herror ::tuple_is_number (
    const HTuple &T,
    long *IsNumber
)
Herror ::tuple_is_number (
    const HTuple &T,
    HTuple *IsNumber
)

Check a tuple (of strings) whether it represents numbers.

::tuple_is_number checks each element of the input tuple T whether it represents a number. If the element is a number (real or integer), 1 is returned for that element. If the element is a string, it is checked whether the string represents a number. If so, 1 is returned, otherwise 0.


Parameters

T (input_control)
number(-array) -> HTuple.double / long / char *
Input tuple.

IsNumber (output_control)
integer(-array) -> (HTuple.) long *
Tuple with boolean numbers.


See also

::tuple_number


Module

Operators not requiring licensing



Copyright © 1996-2002 MVTec Software GmbH