quit
-- terminate the MuPAD
sessionOn the interactive level, the statement quit
terminates
the MuPAD session.
quit _quit()
break
, next
, Pref::callOnExit
, reset
, return
quit
statement is equivalent to the call
_quit()
.quit
is used on the interactive level, it
terminates the running MuPAD session and returns to the system
level where MuPAD was started.quit
should not be used in a procedure. However, if it
is used, only this procedure is terminated. Note that in this case the
return value of the procedure is undefined. Use return
to terminate a procedure.Quit
button of the
MuPAD session window must be used rather than the
quit
statement. In these versions, the quit
statement leads to an error message.Pref::callOnExit
._quit
is a function of the system kernel.In this example, the Linux/UNIX terminal version of
MuPAD is started and then terminated using the quit
statement:
myprompt> mupad *----* MuPAD 2.0.0 -- The Open Computer Algebra System /| /| *----* | Copyright (c) 1997 - 2000 by SciFace Software | *--|-* All rights reserved. |/ |/ *----* Universität Paderborn, FB-17, Mathematik >> quit myprompt>
In a MuPAD version with a graphical user
interface, e.g., under Windows 9x/NT/2000, the Apple Macintosh
operating system, or Linux/UNIX with X11/Motif, a quit
command results in the following error message:
>> quit
Warning: Quit the kernel via the user interface [quit]