Monday, August 7, 2023

🆕 _MOUSEZONE function

Latest version of BASIC Anywhere Machine.

Test program:


Description:

The _MOUSEZONE function checks whether or not the mouse pointer is in the defined "zone", the area specified by the top-left corner coordinates, the width, and the height parameters.

Syntax




  • return value
    • -1 if TRUE (i.e. mouse pointer is in the defined area)
    • 0 if FALSE
  • x%
    • horizontal pixel position of the area's top-left corner
  • y%
    • vertical pixel position of the area's top-left corner
  • width% (optional)
    • the pixel width of the area
    • if not specified, then assumed to be 1
  • height% (optional)
    • the pixel width of the area
    • if not specified, then assumed to be 1
  • width% and height% must
    • both be specified
    • OR: both not be specified

No comments:

Post a Comment

🖥A "10PRINT" Variant, BAMified

This program by Charlie Veniot is a port and mod of Ian Witham's C64 program found in this YouTube video. New colours are randomly proje...