Skip to content
Property Value
Hex Value $A2
Categories
Localizations
  • FR: Pxl-Naff(

Pxl-Off(

Overview

The Off state will display the set Background Image Var or COLOR.

Availability: Token available everywhere.

Syntax

Pxl-Off(row,column)

Arguments

NameTypeOptional
row
column

Location

2nd, draw, POINTS, 5:Pxl-Off(


Description

The Pxl-Off( command is used to turn off the pixel at the given (Y,X) coordinates. Please note that the coordinates are switched around so that the row comes first and then the column — it's (Y,X) instead of (X,Y) like the Pt-Off( command. Also note that the (0,0) point is the upper left corner of the Graph screen.

In addition to being easier to use because it is not affected by the window settings (meaning you don't have to set them when using the command), Pxl-Off( is faster than its equivalent Pt-Off( command, so it should generally be used instead whenever possible.

Error Conditions

  • ERR:DOMAIN 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.

Source: parts of this page were written by the following TI|BD contributors: burr, DarkerLine, GoVegan, my_name.

History

Calculator OS Version Description
TI-82 1.0 Added
Authors: Adrien Bertrand