POINT

BASin

POINT

Function

POINT is used to find out whether the colour at a particular position on the high-resolution screen is either an ink colour or a paper colour. POINT does not check the actual colour itself.

How to use POINT

POINT is followed by two numeric values separated by a comma and enclosed in brackets, for example

240 IF POINT(x,y)=1 THEN GO SUB 600

The two values following POINT are rounded to integers if necessary. The first value may range from 0 to 255 and defines the horizontal coordinate of a pixel on the screen. The second value may range from 0 to 175 and defines the vertical component of the coordinate. POINT the returns 1 if the pixel at the defined position is ink colour or 0 if it is paper colour.

Format

  • POINT (int-num-expr,int-num-expr)

See also

Chapter 17.