Click or drag to resize

CSYSIiGlobal Method (String, String)

Get a global parameter setting.

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int IiGlobal(
	string parm,
	ref string setting
)

public static int IiGlobal(
	string parm,
	ref string setting
)

Parameters

parm
Type: SystemString
Name of the Parameter
setting
Type: SystemString
Setting returned

Return Value

Type: Int32
0 if parameter found. 1 if parameter not found or not set.
Remarks
The returned string will be empty if the parameter is not found. Parameters are derived from GEOSOFT.INI. This is a standard Windows style INI file that contains [GROUPS], PARAMETERS and SETTINGS as follows [GROUP1] PARAM1=setting1 PARAM2 setting2 PARAM3 "setting3 is text" To retrieve an entry, specify the group.parameter. For example, iGlobal_SYS("GROUP1.PARAM3",sSetting) will retrieve the string "setting is text". The double quotes will not appear in the setting.
See Also