Initializing help system before first use

writeDir Method

Write directives to a file. This method writes out to a file the directives defined for a problem. The extension .dir is appended to the given file name. When no file name is given (null), the name of the problem is used. If a file of the given name exists already it is replaced.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public int writeDir(
	string filename
)

Parameters

filename
Type:  SystemString
The name of the output file without the extension.

Return Value

Type:  Int32
0 on success, 1 otherwise.
Examples
XPRBprob prob = new XPRBprob("NewProb"); ... prob.writeDir("outputDirectives");
See Also