<?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%3APxl_Test</id>
	<title>TI-BASIC:Pxl Test - 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%3APxl_Test"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Pxl_Test&amp;action=history"/>
	<updated>2026-04-19T17:23:28Z</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:Pxl_Test&amp;diff=1009&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:Pxl_Test&amp;diff=1009&amp;oldid=prev"/>
		<updated>2016-02-24T18:29:55Z</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=PXL-TEST.GIF&lt;br /&gt;
|summary=Tests a pixel on the graph screen to see if it is on or off.&lt;br /&gt;
|syntax=pxl-Test(Y,X)&lt;br /&gt;
|location=While editing a program press:&lt;br /&gt;
# 2nd PRGM to enter the DRAW menu&lt;br /&gt;
# RIGHT to enter the POINTS menu&lt;br /&gt;
# 7 to choose pxl-Test(, or use arrows&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The pxl-Test( command is used to test a pixel at the given (Y,X) coordinates of the graph screen, to see whether it is on or off. One is returned if the pixel is on and zero is returned if the pixel is off. Please note that the coordinates are switched around so that the row comes first and then the column -- it&amp;#039;s (Y,X) instead of (X,Y). This command&amp;#039;s coordinates are independent of the window settings.&lt;br /&gt;
&lt;br /&gt;
You can store the result of pxl-Test( to a variable for later use, or use the command in a [[TI-BASIC:If|conditional]] or [[TI-BASIC:Controlflow|loop]].&lt;br /&gt;
&lt;br /&gt;
 :Pxl-On(25,25&lt;br /&gt;
 :If pxl-Test(25,25&lt;br /&gt;
 :Disp &amp;quot;Pixel turned on!&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#domain|ERR:DOMAIN]]&amp;#039;&amp;#039;&amp;#039; is triggered if the coordinates are not whole numbers or not in the right range ([0..62] for row, [0..94] for column). These bounds are also affected by split screen mode.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Pxl_On|Pxl_On(]]&lt;br /&gt;
* [[TI-BASIC:Pxl_Off|Pxl_Off(]]&lt;br /&gt;
* [[TI-BASIC:Pxl_Change|Pxl_Change(]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>