QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

HomeNewsGitHubWikiSamplesInFormGXQBjsCommunityMore…

SAMPLE: BINARY COUNTER

screenshot.png

Author

🐝 rpgfan3233

Description

' This program is a 12-bit Binary counter, displayed using a 3x4 grid.
' It was created in the honour of an old acquaintance who became
'   obsessed with the binary number system.
'
' It uses extended character code 219 from IBM code page 437 to render
'   the ON state and a simple space (character code 32) to render the
'   OFF state.

QBjs

Please note that QBjs is still in early development and support for these examples is extremely experimental (meaning will most likely not work). With that out of the way, give it a try!

File(s)

🔗 binary, counter, qbjs