Programmer Guide > Creating an OPI Option > wvh_ndims
  

wvh_ndims
Returns the number of dimensions in a PV‑WAVE variable.
C Usage
long wvh_ndims(wvh)
WVH wvh;
FORTRAN Usage
INTEGER*4 LF_WVH_NDIMS(l_wvh)
INTEGER*4 l_wvh
64-bit UNIX FORTRAN Usage
INTEGER*8 LF_WVH_NDIMS(l_wvh)
INTEGER*8 l_wvh
Input Parameters
wvh—The Wave variable handle of the variable.
Returned Values
Returns the number of dimensions 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.