<?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%3ANumerically_Index_Words</id>
	<title>TI-BASIC:Numerically Index Words - 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%3ANumerically_Index_Words"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Numerically_Index_Words&amp;action=history"/>
	<updated>2026-04-18T11:15:22Z</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:Numerically_Index_Words&amp;diff=1389&amp;oldid=prev</id>
		<title>Maintenance script: Automated @@ correction</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Numerically_Index_Words&amp;diff=1389&amp;oldid=prev"/>
		<updated>2016-02-24T22:12:26Z</updated>

		<summary type="html">&lt;p&gt;Automated @@ correction&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:12, 24 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|author=ADeadBody&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|author=ADeadBody&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|authors=ADeadBody&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|authors=ADeadBody&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|url=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;@@&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|url=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|download=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;@@&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|download=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Numerically_Index_Words&amp;diff=1116&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:Numerically_Index_Words&amp;diff=1116&amp;oldid=prev"/>
		<updated>2016-02-24T18:35:25Z</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:Routine&lt;br /&gt;
|picture=http://tibasicdev.wikidot.com/local--files/template:command/samplescreenshot.gif&lt;br /&gt;
|summary=Retrieves a word from an indexed string of words with an index number. &lt;br /&gt;
|input=&amp;#039;&amp;#039;A&amp;#039;&amp;#039; - The word&amp;#039;s index number&lt;br /&gt;
&amp;#039;&amp;#039;Str0&amp;#039;&amp;#039; - The index of words&lt;br /&gt;
|output=&amp;#039;&amp;#039;Str1&amp;#039;&amp;#039; - The word&lt;br /&gt;
&lt;br /&gt;
|variable=A, Str0, Str1&lt;br /&gt;
&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|author=ADeadBody&lt;br /&gt;
|authors=ADeadBody&lt;br /&gt;
|url=@@&lt;br /&gt;
|download=@@&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
 :&amp;quot;000Word......001another...&amp;quot;→Str0    &lt;br /&gt;
 :sub(Str0,3+inString(Str0,sub(&amp;quot;0123456789&amp;quot;,iPart(A/100)+1,1)+sub(&amp;quot;0123456789&amp;quot;,10fPart(iPart(A/10)/10)+1,1)+sub(&amp;quot;0123456789&amp;quot;,10fPart(A/10)+1,1)),10)→Str1&lt;br /&gt;
&lt;br /&gt;
The routine converts the number into a string then searches for that in the string of words and stores the characters that follow it. Input in some 3 digit number ex: 001 would correspond to word 001.  102 would correspond to word 102.  The routine itself can store up to 1000 10 letter words.  I developed this for the purpose of storing and retrieving Pokemon names in the game I am developing but I am sure that there are other uses.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Acceptable inputs&amp;#039;&amp;#039;&amp;#039;:   zero, positive integers up to 999&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Error inducing inputs&amp;#039;&amp;#039;&amp;#039;: decimals, negative numbers, numbers over 1000&lt;br /&gt;
&lt;br /&gt;
This example of the routine would display &amp;quot;helloworld&amp;quot;, &lt;br /&gt;
&lt;br /&gt;
 :1→A&lt;br /&gt;
 :&amp;quot;000worldhello001helloworld&amp;quot;→Str0&lt;br /&gt;
 :sub(Str0,3+inString(Str0,sub(&amp;quot;0123456789&amp;quot;,iPart(A/100)+1,1)+sub(&amp;quot;0123456789&amp;quot;,10fPart(iPart(A/10)/10),1))+1,1)+sub(&amp;quot;0123456789&amp;quot;,10fPart(A/10)+1,1)),10)→Str1&lt;br /&gt;
 :Disp Str1&lt;br /&gt;
&lt;br /&gt;
If A were 0 instead of 1, then the output would be &amp;quot;worldhello&amp;quot;.&lt;br /&gt;
In this modified version of the code it would output &amp;quot;helloworlditsme&amp;quot; a 15 letter code while still only displaying 10 letter words for any other input.  You can see how by looking at the end of the 3rd line of programming it adds a value of 5 to the length of the outputted string under the condition of A being equal to 1&lt;br /&gt;
&lt;br /&gt;
 :1→A&lt;br /&gt;
 :&amp;quot;000worldhello001helloworlditsme002helloworld&amp;quot;→Str0&lt;br /&gt;
 :sub(Str0,3+inString(Str0,sub(&amp;quot;0123456789&amp;quot;,iPart(A/010)+1,1)+sub(&amp;quot;0123456789&amp;quot;,10fPart(iPart(A/10)/10),1))+1,1)+sub(&amp;quot;0123456789&amp;quot;,10fPart(A/10)+1,1)),10+5(A=1))→Str1&lt;br /&gt;
 :Disp Str1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#invaliddim|ERR:INVALID DIM]]&amp;#039;&amp;#039;&amp;#039; is thrown when the input number is either over 999 or under 0&lt;br /&gt;
&lt;br /&gt;
= Related Routines =[[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>