<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.ninerpedia.org/index.php?action=history&amp;feed=atom&amp;title=Accept_at</id>
	<title>Accept at - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.ninerpedia.org/index.php?action=history&amp;feed=atom&amp;title=Accept_at"/>
	<link rel="alternate" type="text/html" href="http://www.ninerpedia.org/index.php?title=Accept_at&amp;action=history"/>
	<updated>2026-05-12T01:43:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=49169&amp;oldid=prev</id>
		<title>Stephen Shaw: moved &quot;Accept at&quot; to Accept at: Remove quotes - Wiki&#039;s don&#039;t generally have articles with quotes, this will create a redirect for links</title>
		<link rel="alternate" type="text/html" href="http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=49169&amp;oldid=prev"/>
		<updated>2015-01-03T15:54:16Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/%22Accept_at%22&quot; class=&quot;mw-redirect&quot; title=&quot;&amp;quot;Accept at&amp;quot;&quot;&gt;&amp;quot;Accept at&amp;quot;&lt;/a&gt; to &lt;a href=&quot;/wiki/Accept_at&quot; title=&quot;Accept at&quot;&gt;Accept at&lt;/a&gt;: Remove quotes - Wiki&amp;#039;s don&amp;#039;t generally have articles with quotes, this will create a redirect for links&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:54, 3 January 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Stephen Shaw</name></author>
	</entry>
	<entry>
		<id>http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=49145&amp;oldid=prev</id>
		<title>Stephen Shaw: add internal link</title>
		<link rel="alternate" type="text/html" href="http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=49145&amp;oldid=prev"/>
		<updated>2015-01-02T13:18:52Z</updated>

		<summary type="html">&lt;p&gt;add internal link&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 13:18, 2 January 2015&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;Accept at is an [[Extended BASIC]] command to take input from the user at a specific screen location.  &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;Accept at is an [[Extended BASIC]] command to take input from the user at a specific screen location&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. It can be emulated in TI Basic&lt;/ins&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;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;In Extended Basic you could use:&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;In Extended Basic you could use:&lt;/div&gt;&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-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;which would accept a string variable input at screen location row 10, column 12.  To do this in TI Basic we have to write our own routine. That is the subject of this article.&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;which would accept a string variable input at screen location row 10, column 12.  To do this in TI Basic we have to write our own routine. That is the subject of this article.&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;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;In TI &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Basic &lt;/del&gt;you need to use the routine below (lines 100 onwards) plus (for example):&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;In &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;TI &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BASIC]] &lt;/ins&gt;you need to use the routine below (lines 100 onwards) plus (for example):&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;  &amp;lt;code&amp;gt;50 R=10&amp;lt;/code&amp;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;  &amp;lt;code&amp;gt;50 R=10&amp;lt;/code&amp;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;div&gt;  &amp;lt;code&amp;gt;51 VR=12&amp;lt;/code&amp;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;  &amp;lt;code&amp;gt;51 VR=12&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stephen Shaw</name></author>
	</entry>
	<entry>
		<id>http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=49144&amp;oldid=prev</id>
		<title>Stephen Shaw: add internal link to ExBas</title>
		<link rel="alternate" type="text/html" href="http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=49144&amp;oldid=prev"/>
		<updated>2015-01-02T13:17:51Z</updated>

		<summary type="html">&lt;p&gt;add internal link to ExBas&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 13:17, 2 January 2015&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;Accept at is an Extended &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Basic &lt;/del&gt;command to take input from the user at a specific screen location.  &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;Accept at is an &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;Extended &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BASIC]] &lt;/ins&gt;command to take input from the user at a specific screen location.  &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;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;In Extended Basic you could use:&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;In Extended Basic you could use:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stephen Shaw</name></author>
	</entry>
	<entry>
		<id>http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=48452&amp;oldid=prev</id>
		<title>Stephen Shaw: moved &quot;accept at&quot; to &quot;Accept at&quot;: change case of initial letter to generally accepted upper case- will set up a redirect from lower case starting letter</title>
		<link rel="alternate" type="text/html" href="http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=48452&amp;oldid=prev"/>
		<updated>2014-09-16T18:53:32Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/%22accept_at%22&quot; class=&quot;mw-redirect&quot; title=&quot;&amp;quot;accept at&amp;quot;&quot;&gt;&amp;quot;accept at&amp;quot;&lt;/a&gt; to &lt;a href=&quot;/wiki/%22Accept_at%22&quot; class=&quot;mw-redirect&quot; title=&quot;&amp;quot;Accept at&amp;quot;&quot;&gt;&amp;quot;Accept at&amp;quot;&lt;/a&gt;: change case of initial letter to generally accepted upper case- will set up a redirect from lower case starting letter&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:53, 16 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Stephen Shaw</name></author>
	</entry>
	<entry>
		<id>http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=48451&amp;oldid=prev</id>
		<title>Stephen Shaw: New article on TI Basic input at a specific screen location</title>
		<link rel="alternate" type="text/html" href="http://www.ninerpedia.org/index.php?title=Accept_at&amp;diff=48451&amp;oldid=prev"/>
		<updated>2014-09-16T18:52:10Z</updated>

		<summary type="html">&lt;p&gt;New article on TI Basic input at a specific screen location&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Accept at is an Extended Basic command to take input from the user at a specific screen location. &lt;br /&gt;
&lt;br /&gt;
In Extended Basic you could use:&lt;br /&gt;
&lt;br /&gt;
50 ACCEPT AT(10,12):A$&lt;br /&gt;
&lt;br /&gt;
which would accept a string variable input at screen location row 10, column 12.  To do this in TI Basic we have to write our own routine. That is the subject of this article.&lt;br /&gt;
&lt;br /&gt;
In TI Basic you need to use the routine below (lines 100 onwards) plus (for example):&lt;br /&gt;
 &amp;lt;code&amp;gt;50 R=10&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;51 VR=12&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;52 IN$=A$&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;53 GOSUB 100&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;54 GOTO 54&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See below program for more details of how it works.&lt;br /&gt;
 &lt;br /&gt;
        REMINDER: Set R &amp;amp;  VR to desired row-column&lt;br /&gt;
                  The input is placed in variable IN$&lt;br /&gt;
                  Use GOSUB to enter this routine when it is required&lt;br /&gt;
                  note: Remove line 160 if you do not wish to be&lt;br /&gt;
                  limited to entry of numbers 0 to 9.&lt;br /&gt;
 &lt;br /&gt;
         &amp;lt;code&amp;gt;100 IN$=&amp;quot;&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;110 CALL KEY(0,K,S)&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;120 CALL HCHAR(R,VR,30)&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;130 CALL HCHAR (R,VR,32)&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;140 IF S&amp;lt;1 THEN 110&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;150 IF K=13 THEN 250&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;160 IF (K&amp;lt;48)+(K&amp;gt;57) THEN 110&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;170 CALL HCHAR(R,VR,K)&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;180 VR=VR+1&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;190 IF VR&amp;lt;33 THEN 230&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;200 VR=32&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;210 K=13&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;220 GOTO 250&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;230 IN$=IN$&amp;amp; CHR$(K)&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;240 GOTO 110&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;250 IF IN$=&amp;quot;&amp;quot; THEN 110&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;code&amp;gt;260 RETURN&amp;lt;/code&amp;gt;&lt;br /&gt;
                                                    &lt;br /&gt;
The above program is an ACCEPT AT routine in TI BASIC. Using similar principles you can develop a PRINT AT routine.&lt;br /&gt;
&lt;br /&gt;
==Why do we need an ACCEPT AT routine?==&lt;br /&gt;
&lt;br /&gt;
The usual INPUT command causes the screen to scroll, and in the middle of a game with a complex screen display that can be disruptive! &lt;br /&gt;
&lt;br /&gt;
The required routine will allow you to fill a variable string and place the input onto any desired part of the screen.&lt;br /&gt;
&lt;br /&gt;
The initial screen location is held in the variables R(row) and VR(column). &lt;br /&gt;
&lt;br /&gt;
The required input is to be placed in a string variable IN$. To ensure the variable is &amp;#039;empty&amp;#039; it is cleared at the start of the routine. &lt;br /&gt;
&lt;br /&gt;
The string is filled by means of a series of CALL KEYs, terminated with the ENTER key (which gives a code of 13).&lt;br /&gt;
&lt;br /&gt;
For user confidence the cursor (character 30) is flashed at the position the input will appear at. This comes immediately after the call key. If required a CALL SOUND could be inserted just before the CALL KEY to provide the usual &amp;#039;input&amp;#039; tone.&lt;br /&gt;
&lt;br /&gt;
If no key is pressed, the cursor will just flash. &lt;br /&gt;
&lt;br /&gt;
When a key is pressed, a check is made to see if it is the ENTER key, to terminate input (Key code 13). If ENTER has not been pressed, you can check to ensure the key falls within a required range. &lt;br /&gt;
&lt;br /&gt;
In the sample given, only the number keys 0 to 9 are accepted as inputs (ASCI codes 48 to 57). If the choice of keys is not so neatly in sequence, you may use: &lt;br /&gt;
&lt;br /&gt;
IF POS(&amp;quot;ESDX&amp;quot;,CHR$(S),1)&amp;lt;1 THEN 110 &lt;br /&gt;
&lt;br /&gt;
If the key pressed is not E, S, D or X in this example, the key is not accepted and the program returns to the CALL KEY. &lt;br /&gt;
&lt;br /&gt;
If the key IS accepted, the letter is placed on the screen in the appropriate location, and the value of the column is increased by one. &lt;br /&gt;
&lt;br /&gt;
A check is then made to see if the input has gone past the end of the screen : if no check was made, a BAD VALUE would be possible. &lt;br /&gt;
&lt;br /&gt;
In this example, if the column exceeds a value of 33, it is reset to 32 and an automatic ENTER is inserted to terminate the input. You may prefer to substitute GOTO 110 instead of ending the input : this alternative places the cursor back on the last position (eg at screen right). &lt;br /&gt;
&lt;br /&gt;
If the key is accepted, the character the key represents is added to the input string and the program returns to the CALL KEY. &lt;br /&gt;
&lt;br /&gt;
Once ENTER has been pressed, a check is made to see if an input HAS been made (a nul input string could cause your program to crash). If no entry has been made the program returns to the CALL KEY. &lt;br /&gt;
&lt;br /&gt;
If all is well, you are allowed to RETURN to the place in your program you left with a GOSUB. The input now lies in variable string IN$ for you to manipulate as you wish.&lt;br /&gt;
&lt;br /&gt;
As the example program has limited the input to a string, a numeric variable can be set by using N=VAL(IN$) in your program.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Stephen Shaw</name></author>
	</entry>
</feed>