<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AUnarchive</id>
	<title>TI-BASIC:Unarchive - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AUnarchive"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Unarchive&amp;action=history"/>
	<updated>2026-05-28T11:21:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Unarchive&amp;diff=1130&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Unarchive&amp;diff=1130&amp;oldid=prev"/>
		<updated>2016-02-24T18:36:08Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=UNARCHIVE.GIF&lt;br /&gt;
|summary=Moves a variable from the archive to RAM.&lt;br /&gt;
|syntax=UnArchive &amp;#039;&amp;#039;variable&amp;#039;&amp;#039;&lt;br /&gt;
|location=Press:&lt;br /&gt;
# 2nd MEM to access the memory menu&lt;br /&gt;
# 6 to select UnArchive, or use arrows.&lt;br /&gt;
|compatibility=TI-83+/84+/SE&lt;br /&gt;
&lt;br /&gt;
(not available on the regular TI-83)&lt;br /&gt;
|size=2 bytes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The UnArchive command moves a variable from the archive (also known as [[TI-BASIC:Glossary#R|ROM]]) to [[TI-BASIC:Glossary#R|RAM]]. A quick synopsis of the difference between the two:&lt;br /&gt;
* Data in the archive cannot be accessed, but it&amp;#039;s protected from RAM clears (which may occur during battery removal if not done carefully); also, the archive can hold much more data.&lt;br /&gt;
* Data in RAM can be accessed for calculations, but it can also be deleted during a RAM clear or accidentally overwritten by another program.&lt;br /&gt;
&lt;br /&gt;
It is, in general, not recommended to place real variables in the archive (since so many programs use them); also, some variables cannot be archived (see the [[TI-BASIC:Archive|Archive]] command for details). Although programs can be archived and unarchived, the Archive and UnArchive commands will not archive or unarchive programs from within a program. For the most part, [[TI-BASIC:Lists|Lists]] are the only type of variable it makes sense to archive and unarchive in a program.&lt;br /&gt;
&lt;br /&gt;
The UnArchive command doesn&amp;#039;t do anything if the variable in question is already in RAM. However, there is no way to test if a variable is in RAM or archive, short of trying to access it and potentially getting an error.&lt;br /&gt;
&lt;br /&gt;
= Advanced Uses =&lt;br /&gt;
&lt;br /&gt;
The Archive and UnArchive commands can be used in conjunction for [[TI-BASIC:Saving|Saving]] data as a program exits.&lt;br /&gt;
&lt;br /&gt;
= Optimization =&lt;br /&gt;
&lt;br /&gt;
The [[TI-BASIC:Setupeditor|SetUpEditor]] command is often used in place of the UnArchive command when dealing with lists, for several reasons:&lt;br /&gt;
* using SetUpEditor will not prevent the program from working on a TI-83, like UnArchive will&lt;br /&gt;
* SetUpEditor will create a list with length 0 if it doesn&amp;#039;t exist; UnArchive will throw an error&lt;br /&gt;
* SetUpEditor saves space in the program, since it can unarchive more than one list at a time, and doesn&amp;#039;t require the little L in front&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#memory|ERR:MEMORY]]&amp;#039;&amp;#039;&amp;#039; is thrown if there isn&amp;#039;t enough memory available in RAM for the variable.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#variable|ERR:VARIABLE]]&amp;#039;&amp;#039;&amp;#039; is thrown when unarchiving a system variable or a application even if there is enough space.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Archive|Archive]]&lt;br /&gt;
* [[TI-BASIC:Delvar|DelVar]]&lt;br /&gt;
* [[TI-BASIC:Setupeditor|SetUpEditor]]&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Saving|Saving Data]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>