Wednesday, May 31, 2023
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"
Subscribe to:
Comments (Atom)
🖥 Spiralling Text (old-school sine wave)
This is a mod of a program Richard Keijzer wrote in TRS-80 Level II BASIC (44 years ago) and recently shared with the BASIC Programming Lang...

-
This program is a port and mod of Steve Justice's program presented in the "Fractals in Focus" article found in the May 1985 i...
-
Drawing regular polygons is pretty easy when using DRAW to generate the points of the polygon, using specified coordinates for the center of...
-
This program is a port and mod of Antoni Gual Via's program shared with the "BASIC, QBasic, GWBasic computer programming"'...