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
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.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 start,
	int end,
	int yn,
	int order
)

Parameters

start
Type: SystemInt32
Lowest element in VV element to search
end
Type: SystemInt32
Highest element in VV to search
yn
Type: SystemInt32
0 = find first dummy / 1 = find first non-dummy
order
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