Code segment unload: Difference between revisions
Content added Content deleted
(Omitted Mathematica) |
(Added Io entry.) |
||
Line 21: | Line 21: | ||
The <code>CANCEL</code> statement in COBOL unloads from memory the dynamically-loadable module containing the specified program or entry-point. |
The <code>CANCEL</code> statement in COBOL unloads from memory the dynamically-loadable module containing the specified program or entry-point. |
||
<lang cobol>CANCEL "foo"</lang> |
<lang cobol>CANCEL "foo"</lang> |
||
=={{header|Io}}== |
|||
<lang Io># Call anonymous block to do the initialization. |
|||
block( |
|||
// Put initialization code here. |
|||
writeln("Initialization complete.") |
|||
) call() |
|||
# Garbage collector is now free to recover initialization resources. |
|||
writeln("Doing real work.") |
|||
// Code to do the real work here.</lang> |
|||
{{output}} |
|||
<pre>Initialization complete. |
|||
Doing real work.</pre> |
|||
=={{header|PARI/GP}}== |
=={{header|PARI/GP}}== |