Saturday, May 6, 2023

โœ _MOUSEBUTTON and GETMOUSE

For both functions, "1" would be returned to indicate that a mouse button is pressed.

Now, both functions return "-1" (i.e. the system constant TRUE) to indicate that a mouse button is pressed.

Unchanged: a "0" (i.e. the system constant FALSE) is returned to indicate that a mouse button is NOT pressed.

In any previously created BAM programs, you will need to change things like "IF _MOUSEBUTTON = 1" to one of:

  • "IF _MOUSEBUTTON = TRUE"
  • "IF _MOUSEBUTTON = -1"
  • "IF _MOUSEBUTTON"

๐Ÿ–ฅ "Schrafic" Fractals Generator

This program is a port and mod of a QB64 program created by Eric Schraf (and shared with the BASIC Programming Language group on Facebook:  ...