MC-Basic:UNLOAD$

From SoftMC-Wiki
Revision as of 12:00, 28 December 2014 by EranKo (talk | contribs) (add page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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