And for the slightly younger folks who have more memories of Visual Basic than QBasic, check out GAMBAS: https://gambaswiki.org/website/en/main.html

Loved Visual Basic! VB3 was probably my first experience as a kid to the idea of “threading” and UI-blocking operations.

Remember this?

  DoEvents

I do remember DoEvents! Sadly it's not present in GAMBAS, but there's WAIT, which is kinda the same: https://gambaswiki.org/wiki/lang/wait