Initializing help system before first use

# SetDefaultStream(XPRMStreamType, TextWriter) Method

Set default input/output streams. This method defines the default streams that are opened when execution of the model starts. Using an empty string as the file name implies resetting to the corresponding original default stream (defined using SetDefaultStream(XPRMStreamType, TextWriter))
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 6.10.2+3ade428d42075e2d7a96af804c98ecad5f69fa07
Syntax
C#

    public void SetDefaultStream(
    	XPRMStreamType wmd,
    	TextWriter stream
    )

#### Parameters

wmd XPRMStreamType
  Stream to set:
  - F_INPUT – default input stream
  - F_OUTPUT – default output stream
  - F_OUTPUT_LINEBUF – default output stream with line buffering
  - F_ERROR
stream TextWriter
  the stream to be used

See Also

#### Reference

XPRMModel Class
SetDefaultStream Overload
Mosel Namespace
Parent Topic SetDefaultStream Method

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.