Initializing help system before first use

getexitcode

getexitcode


Purpose
Get the exit code of a model.
Synopsis
function getexitcode(mo:Model):integer
Argument
mo 
A model
Return value
Exit code of the last execution or 0
Further information
The exit code of the last execution corresponds to the value stated via a call to the procedure exit. The default exit value ( i.e. procedure exit has not been called) is 0.
Related topics
Module