CompileAndLoad Method (String, TextReader)
Compile a model source from the given stream into a memory buffer, then read it into an XPRMModel object
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 5.0.2.0

C#
public XPRMModel CompileAndLoad( string options, TextReader src )
Parameters
- options
-
Type:
SystemString
compilation options (may be null): String formed from:- "g" - include debugging information: in the case of a run time error during the execution of the model the location of the error in the source file may be indicated
- src
-
Type:
System.IOTextReader
the source stream
Return Value
Type: XPRMModel