One can use $Epilog
to do something when the Kernel is quit or put an end.m
file next to the init.m
.
For Wolfram System sessions,
$Epilog
is conventionally defined to read in a file named end.m.
But if $Epilog
is set by the user, then end.m
is skipped.
Question: So what to do if I want something to be done each time Kernel is quit but I also want to be able to play with $Epilog
. In that sense that if I set $Epilog
I would like my default action to be taken anyway?
I need to stress out that I want to establish an action that will not be accidentally overwritten with daily (but advanced) mma usage.
Comments
Post a Comment