settings.clear
From ComputerCraft Wiki
Revision as of 03:02, 10 June 2016 by Bomb Bloke (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=settings.clear |args= |api=settings |addon=ComputerCraft |desc=Simply wipes all currently loaded settings.<br><br> Note that when the system re...")
Function settings.clear | |
Simply wipes all currently loaded settings. Note that when the system reboots, first the default settings will be reloaded, and then (if it exists on the root of the drive) the ".settings" file will also be reloaded. Saving an empty ".settings" file will not in any way affect the loaded defaults - if you want all settings cleared on boot, then settings.clear() must be called on startup. | |
Syntax | settings.clear() |
Returns | nil |
Part of | ComputerCraft |
API | settings |
Settings API Functions |
---|
settings.set - settings.get - settings.unset - settings.clear - settings.getNames - settings.load - settings.save |