06-03-2023, 02:55 PM
(This post was last modified: 06-05-2023, 07:07 PM by grymmjack.
Edit Reason: Added explicit directions on how to use qbjs bbcode embed.
)
You can now use [qbjs] bbcode in your posts to embed qbjs.org code and play with it directly in the thread.
What is qbjs?
QBJS is an opensource project created by @dbox
QBJS is an implementation of the Basic programming language for the web, with multimedia support and easy sharing of programs. It aims to be compatible with QB64, which in turn implements the same dialect as the classic QBasic.
Support for browser APIs is built-in as of version 0.3.0-beta; a game engine is included separately.
Check it out on the qbjs GitHub
How do I use it?
Like this:
Anything you've made in qbjs.org IDE can be embedded in the new [qbjs] bbcode. You simply click the share button in qbjs.org, and copy the text and insert it between [qbjs] and [/qbjs] -- or you can just paste your share link from qbjs.org, select it, and click the QBJS button in the toolbar to wrap it in the new [qbjs] bbcode.
Here is an example:
(click the Play button to RUN it)
YOU CAN DO ALMOST ANYTHING YOU CAN DO IN QBASIC and QB64!
See: QBasic Language Support in QBJS
And: QBJS Supported Keywords (includes QBASIC and QB64, etc.)
Learn More:
What is qbjs?
QBJS is an opensource project created by @dbox
QBJS is an implementation of the Basic programming language for the web, with multimedia support and easy sharing of programs. It aims to be compatible with QB64, which in turn implements the same dialect as the classic QBasic.
Support for browser APIs is built-in as of version 0.3.0-beta; a game engine is included separately.
Check it out on the qbjs GitHub
How do I use it?
- Go to https://qbjs.org
- Write some code
- Click the share button
- Copy the share link from the dialog to clipboard
- In forum use CTRL-SHIFT-S to switch to source mode (for whitespace preservation)
- Type: [qbjs]
- Paste from clipboard
- Type: [/qbjs]
Like this:
Anything you've made in qbjs.org IDE can be embedded in the new [qbjs] bbcode. You simply click the share button in qbjs.org, and copy the text and insert it between [qbjs] and [/qbjs] -- or you can just paste your share link from qbjs.org, select it, and click the QBJS button in the toolbar to wrap it in the new [qbjs] bbcode.
Here is an example:
(click the Play button to RUN it)
YOU CAN DO ALMOST ANYTHING YOU CAN DO IN QBASIC and QB64!
See: QBasic Language Support in QBJS
And: QBJS Supported Keywords (includes QBASIC and QB64, etc.)
Learn More: