Initializing help system before first use

SetDefaultStream Method (XPRMStreamType, String)

Set default input/output streams. This method defines the default global streams: they are used as the default when a model is loaded and whenever no model information is available (e.g. compilation errors, error on modules, etc). The method can be used only if no model is currently loaded in memory. Using an empty string as the file name implies resetting to the corresponding original default stream.

Namespace:   Mosel
Assembly:  xprmdn (in xprmdn.dll) Version: 5.0.2.0
Syntax
C#
public void SetDefaultStream(
	XPRMStreamType wmd,
	string filename
)

Parameters

wmd
Type:  MoselXPRMStreamType
Stream to set: F_INPUTdefault input streamF_OUTPUTdefault output streamF_OUTPUT_LINEBUFdefault output stream with line bufferingF_ERRORdefault error streamg
filename
Type:  SystemString
extended file name to be used for the stream.
See Also