<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Settings.set</id>
		<title>Settings.set - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Settings.set"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Settings.set&amp;action=history"/>
		<updated>2026-07-11T06:38:51Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Settings.set&amp;diff=7434&amp;oldid=prev</id>
		<title>Bomb Bloke: Created page with &quot;{{lowercase}} {{Function |name=settings.set |args={{type|string}} name, {{type|any}} value |api=settings |addon=ComputerCraft |desc=Sets the specified setting to the specified...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Settings.set&amp;diff=7434&amp;oldid=prev"/>
				<updated>2016-06-10T03:31:08Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{lowercase}} {{Function |name=settings.set |args={{type|string}} name, {{type|any}} value |api=settings |addon=ComputerCraft |desc=Sets the specified setting to the specified...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=settings.set&lt;br /&gt;
|args={{type|string}} name, {{type|any}} value&lt;br /&gt;
|api=settings&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Sets the specified setting to the specified value. Values may be in the form of strings, numbers, booleans, or [[textutils.serialize|serialisable]] tables.&lt;br /&gt;
&lt;br /&gt;
Settings apply until the next reboot, at which time the [[Settings_(API)#Default_Settings|defaults]] are reloaded. If you wish your custom settings to persist, either [[settings.save|save]] them to a file and [[settings.load|reload]] them on startup, or save them to &amp;quot;.settings&amp;quot; specifically if you wish them to be automatically reloaded.&lt;br /&gt;
&lt;br /&gt;
Settings may not be cleared by use of settings.set(); for eg, settings.set(&amp;quot;shell.autocomplete&amp;quot;, nil) is invalid. Instead use [[settings.unset]]() for this purpose.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Disables use of startup files from floppies on subsequent reboots by saving a new default settings file.&lt;br /&gt;
|code= settings.set(&amp;quot;shell.allow_disk_startup&amp;quot;, false)&lt;br /&gt;
 [[settings.save]](&amp;quot;.settings&amp;quot;)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{SettingsAPIFunctions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Bomb Bloke</name></author>	</entry>

	</feed>