OWBasic for Pocketviewer

Home INTRO Group TOUCHSCREEN Alphabetical Index

Test for new touch

NEWTOUCH!()
NEWTOUCH()

The boolean function NEWTOUCH!() returns TRUE, if the touchscreen is newly touched, otherwise FALSE.

The integer function NEWTOUCH() (use no more recommended) returns a value greater than zero, if the touchscreen is newly touched, otherwise zero.

In case of a touch, the integer variables TCHX and TCHY contain the coordinates of the contact.


  • TOUCH! - Status of the Touchscreen
  • TOUCHED! - Test on Touch of a Defined Rectangle
Home INTRO Group TOUCHSCREEN Alphabetical Index