From ComputerCraft Wiki
Jump to: navigation, search

Grid Redstone.png  Function
Saves all current settings - including those loaded as defaults - to the specified file, as a serialised table.

If a file titled ".settings" is saved to the root of a computer's drive, it will be automatically loaded on startup (without need to call settings.load()).
Syntax path)
Returns boolean success
Part of ComputerCraft
API settings


Grid paper.png  Example
Disables use of startup files from floppies on subsequent reboots by saving a new default settings file.
settings.set("shell.allow_disk_startup", false)".settings")

Grid disk.png Settings API Functions
settings.set - settings.get - settings.unset - settings.clear - settings.getNames - settings.load -