Tests to see whether the location specified by int-exp1,int-exp2 is SET. If the co-ordinates are out of range for the relevant graphics mode, the value returned will be -1. If the POINT is SET, the value returned will be -1. If the POINT is not SET, the value returned will be 0.
Program Example.
00100 REM A routine to demonstrate the POINT function
00110 CLS
00120 LORES
00130 SET 20,20
00140 IF POINT(20,20) THEN PRINT "Location 20,20 is set"
00150 IF (NOT(POINT(20,20))) THEN PRINT "Location 20,20 is not set"
00160 IF POINT(H 20,27) THEN PRINT "Location 20,20 is set"
00170 END