MC-Basic:UNLOAD$

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

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

See Also