Initializing help system before first use

SetDefaultStream Method (XPRMStreamType, TextReader)

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.

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

Parameters

wmd
Type:  MoselXPRMStreamType
Stream to set: F_INPUTdefault input streamF_OUTPUTdefault output streamF_OUTPUT_LINEBUFdefault output stream with line bufferingF_ERRORdefault error streamg
stream
Type:  System.IOTextReader
.NET stream to be used for the Mosel stream.
See Also