<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83Plus%3ABCALLs%3A510A</id>
		<title>83Plus:BCALLs:510A - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83Plus%3ABCALLs%3A510A"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:510A&amp;action=history"/>
		<updated>2026-04-08T10:11:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:510A&amp;diff=5743&amp;oldid=prev</id>
		<title>Brandonw at 10:34, 8 March 2007</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:510A&amp;diff=5743&amp;oldid=prev"/>
				<updated>2007-03-08T10:34:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:83Plus:BCALLs:By Name|GetVarVersion]][[Category:83Plus:BCALLs:By Name:Variable|GetVarVersion]] [[Category:83Plus:BCALLs:By Address|510A - GetVarVersion]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Unofficial Name:''' GetVarVersion&lt;br /&gt;
&lt;br /&gt;
'''BCALL Address:''' 510A&lt;br /&gt;
&lt;br /&gt;
'''Minimum OS Version:''' 2.30&lt;br /&gt;
&lt;br /&gt;
Gets the version of a variable based on the tokens included within it.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* B: page of variable's size bytes&lt;br /&gt;
* DE: address of variable's size bytes&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* Z set if suitable for all calculators (83 and above)&lt;br /&gt;
* A: version&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* None&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
This works for both archived and unarchived variables. It does NOT update the version byte in the VAT entry (this is the same as what would be stored there).&lt;br /&gt;
&lt;br /&gt;
If the version is zero, it contains no new tokens and would be accepted by the TI-83 and above.&lt;br /&gt;
&lt;br /&gt;
If the version is 1, it contains at least one token from the range 0BBh,068h to 0BBh,0CEh. A few examples are below:&lt;br /&gt;
 Archive&lt;br /&gt;
 UnArchive&lt;br /&gt;
 Asm(&lt;br /&gt;
 AsmComp(&lt;br /&gt;
 AsmPrgm&lt;br /&gt;
 GarbageCollect&lt;br /&gt;
&lt;br /&gt;
If the version is 2, it contains at least one token from the range 0BBh,0CFh to 0BBh,0DAh. A few examples are: '@#$&amp;amp;`;\|_%&lt;br /&gt;
&lt;br /&gt;
If the version is 3, it contains at least one token from the range 0BBh,0DBh to 0BBh,0F5h.&lt;br /&gt;
&lt;br /&gt;
If the version is 4, it contains either OpenLib( and ExecLib (or both).&lt;br /&gt;
&lt;br /&gt;
If the version is 24h (which is 4 with bit 5 set), it contains at least one token from the range 0EFh,00h to 0EFh,10h. These are the 84+/SE timer and clock functions.&lt;br /&gt;
&lt;br /&gt;
If the version is 5, it contains at least one token from the range 0EFh,13h to 0EFh,16h.&lt;br /&gt;
&lt;br /&gt;
If the version is 0FFh, it contains tokens not mentioned above and is unrecognizable by the TI-OS.&lt;br /&gt;
&lt;br /&gt;
A variable of a certain version can also contain older tokens; for example, a version 5 variable can also contain tokens from versions 0-4.&lt;/div&gt;</summary>
		<author><name>Brandonw</name></author>	</entry>

	</feed>