Code segment unload: Difference between revisions

Content added Content deleted
m (Omit from Logtalk)
(Added COBOL section. Corrected BASIC highlighting.)
Line 8:
=={{header|BASIC}}==
Some versions of basic have the facility to delete lines of code:
<lang basicgwbasic>10 GOSUB 5000: REM call initializer
20 DELETE 5000-9999: REM delete initializer
30 PRINT A: REM show initializer worked
Line 17:
5010 LET A=1
5020 RETURN</lang>
 
=={{header|COBOL}}==
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>
 
=={{header|Racket}}==