Difference between revisions of "Os.unloadAPI"
From ComputerCraft Wiki
MKlegoman357 (Talk | contribs) (Created the page) |
Magiczocker (Talk | contribs) m |
||
| Line 16: | Line 16: | ||
}} | }} | ||
}} | }} | ||
| + | [[Category:API Functions]] | ||
Latest revision as of 07:59, 4 August 2020
| Unloads any, default and user-created, API named name. | |
| Syntax | os.unloadAPI(string name) |
| Returns | nil |
| Part of | ComputerCraft |
| API | OS |
Examples
| Unloads a user-loaded API called "myAPI". | |
| Code |
os.unloadAPI("myAPI")
|
| Unloads the ComputerCraft's default paintutils API. | |
| Code |
os.unloadAPI("paintutils")
|