![](../icons/Help.png) | CSTRParseList Method |
Parse a tokenized list to get a selection list.
Available since Oasis montaj version: 5.0.1
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Given a list such as "1,3,4,6-9,12", it fills the
input buffer with 1 if the number is selected,
0 if not. The items are delimited with spaces
or commas, and ranges are acceptable, either using
a "-" or ":", e.g. 3-6 and 3:6 both mean 3,4,5, and 6.
Only values from 0 to one less than the buffer length
are used. Out-of-range values are ignored.
Syntaxpublic static void ParseList(
CGXNETCore gxNetShared,
string str_val,
CVV gvv
)
Public Shared Sub ParseList (
gxNetShared As CGXNETCore,
str_val As String,
gvv As CVV
)
public:
static void ParseList(
CGXNETCore^ gxNetShared,
String^ str_val,
CVV^ gvv
)
static member ParseList :
gxNetShared : CGXNETCore *
str_val : string *
gvv : CVV -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - str_val
- Type: SystemString
String to be parsed - gvv
- Type: GeoEngine.Core.GXNetXCVV
Selection Buffer to fill
See Also