<?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%3AArchive</id>
	<title>TI-BASIC:Archive - 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%3AArchive"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Archive&amp;action=history"/>
	<updated>2026-04-29T23:00:25Z</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:Archive&amp;diff=840&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:Archive&amp;diff=840&amp;oldid=prev"/>
		<updated>2016-02-24T18:21:18Z</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=ARCHIVE.GIF&lt;br /&gt;
|summary=Moves a variable from RAM to the archive.&lt;br /&gt;
|syntax=Archive &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;
# 5 to select Archive, 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 Archive command moves a variable from [[TI-BASIC:Glossary#ram|RAM]] to the archive (also known as [[TI-BASIC:Glossary#tom|ROM]]). 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;
Nothing happens if the variable in question is already archived.&lt;br /&gt;
&lt;br /&gt;
You might want to use this command to protect data such as saved games from being accidentally deleted. It&amp;#039;s not, in general, a good idea to archive commonly used variables, such as the real variables A-Z, since programs usually expect to be able to access these variables without problems, and won&amp;#039;t check if they&amp;#039;re archived.&lt;br /&gt;
&lt;br /&gt;
Also, some variables cannot be archived. These include:&lt;br /&gt;
* The real variables R, T, X, Y, θ, and &amp;#039;&amp;#039;n&amp;#039;&amp;#039; (due to their use in graphing)&lt;br /&gt;
* The [[TI-BASIC:System_Variables#equation|equation]] variables Y,,n,,, X,,nT,,, Y,,nT,,, r,,n,,, u, v, and w&lt;br /&gt;
* The stat plots Plot&amp;#039;&amp;#039;#&amp;#039;&amp;#039;&lt;br /&gt;
* [[TI-BASIC:System_Variables#window|Window]], table, and zoom variables such as TblInput or Xmin&lt;br /&gt;
* [[TI-BASIC:System_Variables#statistical|Statistical]] variables and the list ∟RESID&lt;br /&gt;
* [[TI-BASIC:System_Variables#finance|Finance]] variables&lt;br /&gt;
&lt;br /&gt;
Finally, the Archive command does not work on programs when using it from a program (it does, however, archive programs from the home screen). However, an [[TI-BASIC:Hexcodes#toc0|assembly program]] can be executed as a subroutine so that Archive and UnArchive can be used within a program. The program should however be run again afterwards.&lt;br /&gt;
&lt;br /&gt;
= Advanced Uses =&lt;br /&gt;
&lt;br /&gt;
As archived variables (and programs) can not be accessed by the calculator&amp;#039;s inbuilt OS, archiving programs can be quite problematic when trying to execute them. However; by enabling your programs to be viewable in [[TI-BASIC:Asmshells|assembly shells]], you can execute your programs without needing to unarchive them first. This is because the assembly shell &amp;#039;&amp;#039;copies&amp;#039;&amp;#039; the program to the RAM automatically, and is then executed. Closing the program will automatically remove the copy from the RAM, so no RAM is lost in the end.&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#archivefull|ERR:ARCHIVE FULL]]&amp;#039;&amp;#039;&amp;#039; is thrown when there isn&amp;#039;t enough space in the archive for the variable.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#invalid|ERR:INVALID]]&amp;#039;&amp;#039;&amp;#039; is thrown when trying to archive a program from within a program.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#variable|ERR:VARIABLE]]&amp;#039;&amp;#039;&amp;#039; is thrown when trying to archive a variable that cannot be archived.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Unarchive|UnArchive]]&lt;br /&gt;
* [[TI-BASIC:Delvar|DelVar]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>