Programmer Guide > Creating an OPI Option > wvh_nelems
  

wvh_nelems
Returns the number of elements in a PV‑WAVE variable.
C Usage
long wvh_nelems(wvh)
WVH wvh;
FORTRAN Usage
INTEGER*4 LF_WVH_NELEMS(l_wvh)
INTEGER*4 l_wvh
64-bit UNIX FORTRAN Usage
INTEGER*8 LF_WVH_NELEMS(l_wvh)
INTEGER*8 l_wvh
Input Parameters
wvh—The Wave variable handle of the variable.
Returned Values
Returns the total numbers of elements in the variable. Returns 1 for scalar variables
On failure, –1 is returned.

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.