MC-Basic:UNLOAD$
Remove loaded program from the RAM.
Syntax
Unload$ <filename>
Availability
All versions
Type
<filename>: String.
Range
Files that are loaded in RAM.
Scope
Task or Terminal
Limitations
The task must be loaded in memory.
Only a killed task may be unloaded. Tasks are killed using the KILLTASK$ command.
Global libraries cannot be unloaded (since version 4.13.1rc3).
Examples
dim shared str1 as string = "task1.prg"
Unload$ str1