Difference between revisions of "MC-Basic:UNLOAD"
(4 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 30: | Line 35: | ||
The task must be loaded in memory.<br> | The task must be loaded in memory.<br> | ||
Only a killed task may be unloaded. Tasks are killed using the KILLTASK command.<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. | + | 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 39: | 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