RestartMaple - Maple Help

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.