H5ML.compare_values

Numerically compare two HDF5 values

Syntax

bEqual = H5ML.compare_values(value1,value2)

Description

bEqual = H5ML.compare_values(value1,value2) compares two values, where either or both values may be specified by their text representation (for example, 'H5T_NATIVE_INT'). The values are compared numerically.

Function parameters:

bEqualA logical value indicating whether the two values are equal
value1The first value to be compared
value2The second value to be compared

Examples

val = H5ML.get_constant_value('H5T_NATIVE_INT');
H5ML.compare_values(val,'H5T_NATIVE_INT')