end an OpenMaple session - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Programming : OpenMaple : VB Application Programming Interface : Session State and Input-Output Functions : OpenMaple/VB/StopMaple

StopMaple - end an OpenMaple session

RestartMaple - clear the current state of an OpenMaple session

Calling Sequence


RestartMaple(kv, err)




kernel handle returned by StartMaple



string buffer



These functions are part of the OpenMaple interface to Microsoft Visual Basic.


The StopMaple function permanently terminates execution of OpenMaple.  After calling StopMaple, OpenMaple cannot be restarted with StartMaple.


The RestartMaple function causes the Maple kernel to clear its internal memory so that Maple acts as if just started.  This function is equivalent to executing the Maple restart command. If an error occurs during the process of restarting, the err string pointer is filled with a description of the error, and False is returned.

See Also

OpenMaple/VB/API, OpenMaple/VB/Examples, quit, restart

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam