Difference between revisions of "Os.unloadAPI"

From ComputerCraft Wiki
Jump to: navigation, search
(Created the page)
 
m
 
Line 16: Line 16:
 
  }}
 
  }}
 
}}
 
}}
 +
[[Category:API Functions]]

Latest revision as of 07:59, 4 August 2020


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")