end an OpenMaple session - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : OpenMaple : C Application Programming Interface : OpenMaple Functions : OpenMaple/C/StopMaple

StopMaple - end an OpenMaple session

RestartMaple - clear the current state of an OpenMaple session

Calling Sequence

StopMaple(kv)

RestartMaple(kv, err)

Parameters

kv

-

kernel handle of type MKernelVector

err

-

string buffer

Description

• 

These functions can be used in external code with OpenMaple. They do not work as part of define_external.

• 

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

• 

RestartMaple 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

CustomWrapper, OpenMaple, OpenMaple/C/API, OpenMaple/C/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