wvh_is_constant

Tests if a PV‑WAVE variable is a constant.

C Usage

long wvh_is_constant(wvh)
WVH wvh;

FORTRAN Usage

INTEGER*4 LF_WVH_IS_CONSTANT(l_wvh)
INTEGER*4 l_wvh

64-bit UNIX FORTRAN Usage

INTEGER*8 LF_WVH_IS_CONSTANT(l_wvh)
INTEGER*8 l_wvh

Input Parameters

wvh—The Wave variable handle of the variable.

Returned Values

Returns TRUE if the variable is a constant. A constant PV‑WAVE variable can not have its type or value changed. wave_assign_* will fail if you try to assign a value to a PV‑WAVE constant.

On failure, –1 is returned.