exitApplication
Syntax
exitApplication |
The function exitApplication terminates the simulation run and exits Plant Simulation.
Plant Simulation does not save model data before exiting the program. Changes to the model or to the simulation data are lost if you do not save the model before, compare the function saveModel. Plant Simulation does not issue a warning or prompt asking you if you really want to exit Plant Simulation.
When Plant Simulation is terminated, all existing onCloseModel method classes in the Class Library, except of the onCloseModel method located in the Basis folder, are called. Within these methods you can execute clean-up tasks, for example delete temporary files.
The onCloseModel methods have to declare a boolean parameter. When Plant Simulation is terminated, the parameter has the value true. When the model is closed, the parameter has the value false.
Example
if EventController.time > 36000 |
Related Topic
Related Topics
Miscellaneous Global Functionsanimation
applicationHome
applicationVersion
callEvery
checkForLicense
checkID
clearConsole
clearLogFile
closeAllWindows
closeConsole
closeHTMLWindow
closeModel (open model)
computeSHA1Hash
computeSHA3Hash
connectAutomatically
createLicenseFile
currentEventCtl
deleteAllDebugExpressions
enableFullScreenMode
execute (function)
executeSilent
existsFile
existsMethod
existsObject (2D)
getCallStack
getCommandLineArg
getFileModificationDateTime
getLibraryFiles
getLibraryVersionFromFile
getLogFile
getSeedTable
hideBBL
HTMLHelp
isComputerAccessPermitted
isArray
isSet
keepWindowsAlwaysOnTop
language
licenseName
loadModel (function)
makePathRelative
makeRGBValue
messageBox
modelFile
numOfLimitedObjects
openColorSelectBox
openConsole
openHTMLBrowser
openHTMLWindow
openObjectSelectBox
portNumber
processTime
profiler
putValuesIntoTable (attribute of data type string)
resetInitBox
resetProfile
resetRandomNumberStream
saveModel
saveProfile
sendSMTPMail
setAnimationRefreshRate
setAntitheticRandomNumbers
setConsoleFilter
setInfiniteLoopDetectionTimeout
setMUTraceRouteMethod
setRandomSeedCounter
setSeedTable
showStatisticsReport
strHash
throwRuntimeError
updateGUI
userInterfaceLanguage
How do I
getEpsilonsetEpsilon