Program termination: Difference between revisions
m
→{{header|Factor}}: better io
m (→{{header|Factor}}: better io) |
|||
Line 572:
<lang factor>USING: init io ;
[ "Exiting Factor..." print flush ] "message" add-shutdown-hook</lang>
They are name/quotation pairs that are added to the associative mapping at the <code>shutdown-hooks</code> symbol in the <code>init</code> vocabulary.
|