Click or drag to resize
CVViFindDum Method
Finds the first dummy or non-dummy value in a VV

Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
If a decreasing order search is performed, it will start at the highest element specified. (Conversely, an increasing order starts at the lowest element specified.)
Syntax
public int iFindDum(
	int i1,
	int i2,
	int i3,
	int i4
)

Parameters

i1
Type: SystemInt32
Lowest element in VV element to search
i2
Type: SystemInt32
Highest element in VV to search
i3
Type: SystemInt32
0 = find first dummy / 1 = find first non-dummy
i4
Type: SystemInt32
0 = use increasing order / 1 = use decreasing order

Return Value

Type: Int32
The index of the first dummy or non-dummy value. -1 if not found, 0 if the length of the VV is 0.
See Also