POINT

Format

number1 = POINT (number2,number3)

Description

This statement is used to determine the color of a given pixel in medium and high resolution graphics modes. The row to test is specified with number2, the column with number3. The color of the pixel is stored in number1.

Example

PCOLOR = POINT (10,20)
After execution of this statement, PCOLOR will contain the color of the pixel in row 10 column 20.

Comments

No range checking is performed on row and column. If the specified row or column is outside the valid range for the given graphics mode, the results are unpredictable.

See Also

  • PSET
  • PRESET
  • SCREEN