Purpose
Synopsis
function compile(src:string):integer
function compile(opt:string, src:string):integer
function compile(opt:string, src:string, dst: string):integer
Arguments
opt
|
Compilation options:
"g"
|
Include debugging information
|
"G"
|
Include tracing information
|
"s"
|
Strip symbols
|
"p"
|
parse only: stop after the syntax analysis of
the source file, do not compile (no file generated)
|
|
src
|
Source file name
|
dst
|
Destination file name
|
Return value
0
|
Function executed successfully
|
1
|
Parsing phase has failed (syntax error or
file access error)
|
2
|
Error in compilation phase (a semantic error has been detected)
|
3
|
Error writing the output file
|
4
|
License error (compiler not authorized)
|
Further information
1. This function compiles a given model source file into
a binary model file (bim file) that is required as input to function
load for executing the model.
2.
If no destination file name is
provided, the output file takes the same
name as the source file with the extension .bim.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.