Difference between revisions of "MC-Basic:UNLOAD"

From SoftMC-Wiki
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:UNLOAD}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
Unload <''filename''>
+
Unload <''filename''> {with <''libraryName''>, <''libraryName''>,<''libraryName''>... }
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 11: Line 12:
 
|DESCRIPTION=
 
|DESCRIPTION=
 
Remove loaded program from the RAM.
 
Remove loaded program from the RAM.
 +
 +
From Version MULTIBUS 0.4.15.8, '''with''' functionality allows to unload a task together with libraries which were previously included in the [[MC-Basic:LOAD|load]] command.
  
 
|TYPE=
 
|TYPE=
 
<''filename''>: File specification
 
<''filename''>: File specification
 +
 +
<''libraryName''>: File specification
  
 
|RANGE=
 
|RANGE=
Line 28: Line 33:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
The task must be loaded in memory. Only a killed task may be unloaded. Tasks are killed using the KILLTASK command.
+
The task must be loaded in memory.<br>
 +
Only a killed task may be unloaded. Tasks are killed using the KILLTASK command.<br>
 +
Global libraries cannot be unloaded (since version 4.13.1rc3).
  
 
|EXAMPLE=
 
|EXAMPLE=
 
Unload MAKECUT.prg
 
Unload MAKECUT.prg
 +
 +
unload del01.prg with try1.lib, try2.lib
  
 
|SEE ALSO=
 
|SEE ALSO=
Line 37: Line 46:
 
* [[MC-Basic:LOAD|LOAD]]
 
* [[MC-Basic:LOAD|LOAD]]
 
* [[MC-Basic:STARTTASK|STARTTASK]]
 
* [[MC-Basic:STARTTASK|STARTTASK]]
 +
* [[MC-Basic:UNLOAD$|UNLOAD$]]
  
 
[[Category:MC-Basic:Task Control|UNLOAD]]
 
[[Category:MC-Basic:Task Control|UNLOAD]]
  
 
}}
 
}}

Latest revision as of 10:00, 2 May 2017

Language: English  • 中文(简体)‎

Remove loaded program from the RAM.

From Version MULTIBUS 0.4.15.8, with functionality allows to unload a task together with libraries which were previously included in the load command.

Syntax

Unload <filename> {with <libraryName>, <libraryName>,<libraryName>... }

Availability

All versions

Type

<filename>: File specification

<libraryName>: File specification

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

Unload MAKECUT.prg

unload del01.prg with try1.lib, try2.lib

See Also