phat code I can bend minds with my spoon.
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
EkBass Thu Mar 26 2026 at 10:37 am
BazzBasic 1.1d
 
 
# BazzBasic 1.1d
Download: 
c/releases" target="_blank">https://github.com/EkBas s/BazzBasic/releases

## 26th Mar 2026
Due MOUSE issue below is pretty major, BazzBasic 1.1d released as source and binary

## 26th Mar 2026
Bugfix: Mouse button detection rewrite

MOUSEB AND MOUSE_LEFT# did not work correctly because AND in BazzBasic is logical, not bitwise — any non-zero value is TRUE, so all three buttons appeared pressed simultaneously.

### Removed:
MOUSE_LEFT#, MOUSE_RIGHT#, MOUSE_MIDDLE# built-in constants
MOUSEB keyword (token kept internally for binary compatibility)

### Added:
MOUSELEFT — returns 1 if left mouse button is pressed, 0 otherwise
MOUSERIGHT — returns 1 if right mouse button is pressed, 0 otherwise
MOUSEMIDDLE — returns 1 if middle mouse button is pressed, 0 otherwise


'''basic
WHILE INKEY <> KEY_ESC#
    LOCATE 1, 1
    PRINT "X:"; MOUSEX; " Y:"; MOUSEY; "   "

    IF MOUSELEFT   THEN PRINT "Left clicked  "
    IF MOUSERIGHT  THEN PRINT "Right clicked "
    IF MOUSEMIDDLE THEN PRINT "Middle clicked"

    SLEEP 10
WEND
'''
 
 
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.