MC-Basic:UNLOAD$

From SoftMC-Wiki
Revision as of 10:02, 2 May 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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