is a symbol whose value, if any, is evaluated when a dialog or a Wolfram System session is terminated.


  • For Wolfram System sessions, $Epilog is conventionally defined to read in a file named end.m.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Evaluate $Epilog when the Wolfram Language kernel session is terminated:

Click for copyable input
Click for copyable input
Introduced in 1988