os.unloadAPI

From ComputerCraft Wiki
Revision as of 07:59, 4 August 2020 by Magiczocker (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function os.unloadAPI
Unloads any, default and user-created, API named name.
Syntax os.unloadAPI(string name)
Returns nil
Part of ComputerCraft
API OS

Examples

Grid paper.png  Example
Unloads a user-loaded API called "myAPI".
Code
os.unloadAPI("myAPI")



Grid paper.png  Example
Unloads the ComputerCraft's default paintutils API.
Code
os.unloadAPI("paintutils")