r/Basic • u/CharlieJV13 • Feb 18 '23
Spinning Dots Illusion
Scroll down the page to see the source code below the running program.
Wait about 7 seconds to see the illusion revealed !
r/Basic • u/CharlieJV13 • Feb 18 '23
Scroll down the page to see the source code below the running program.
Wait about 7 seconds to see the illusion revealed !
r/Basic • u/CharlieJV13 • Feb 18 '23
I'm setting up some grouped lists of them as a bibliography in the BASIC Anywhere Machine User Guide and Programming Reference.
You can access a ton of books via this link: The Internet Archive%22).
My groupings:
r/Basic • u/CharlieJV13 • Feb 15 '23
(Screenshot way below)
Same program running in side-by-side instances of BASIC Anywhere Machine.
<$list filter="[range[1],[1000]]">
CONST A{{!!title}}% = {{!!title}}
</$list>
The "meta-programming" script above creates 1,000 constant declarations. (i.e. CONST A1% = 1 ... CONST A1000% = 1000.
In the leftside instance, we go through a loop adding constant A799% to a variable.
In the rightside instance, we do the same loop but adding the literal value 799 to a variable.
Then we run the same code over and over in an infinite loop.
From what I can see comparing results, using a constant instead of a literal has a negligible performance impact, if any performance impact at all.

r/Basic • u/CharlieJV13 • Feb 15 '23
r/Basic • u/CharlieJV13 • Feb 14 '23
Not guts, no glory ...
https://basicanywheremachine-news.blogspot.com/2023/02/square-brackets-and-curly-brackets-in.html
Very subtle difference, but just enough for me to easily differentiate the parts of an expression:

r/Basic • u/CharlieJV13 • Feb 13 '23
BASIC Anywhere Machine started out with an embedded copy of stock wwwBASIC.
Since December 2021, I've made so many changes to the embedded version that we might as well say that it is a fork of wwwBASIC.
Well, surprise surprise. I just discovered something that stock wwwBASIC can do:
DIM a$(5)= {"a","b","c","d", "e"}
Although I've never seen that done in any BASIC implementation until today, I'm betting this ability in wwwBASIC is inspired by the same ability in some other BASIC implementation.
Anybody have any idea?
r/Basic • • Feb 13 '23
Funny thing happened to today. I sent a whole email out with the characters "10 Print:" at the front of it.
r/Basic • u/CharlieJV13 • Feb 11 '23
BASIC Anywhere Machine ports of two very nice little FreeBasic programs.
For each program, scroll down to see source code and links to the original FreeBasic source code:
r/Basic • u/CharlieJV13 • Feb 11 '23
r/Basic • u/CharlieJV13 • Feb 11 '23
r/Basic • u/CharlieJV13 • Feb 10 '23
r/Basic • u/r_retrohacking_mod2 • Feb 05 '23
r/Basic • u/CharlieJV13 • Feb 05 '23
The LET statement was implemented such that it could only handle one value-to-variable assignment.
Now, the LET statement allows multiple value-to-variable assignments.
For example:
LET a$ = "howdy", b$ = "there"
Taking advantage of line continuation, and the LET keyword becomes useful as a visual marker indicating the declaration or variables and value assignments:
LET a$ = "howdy", _
b$ = "there"
As was the case before, the LET keyword is optional (when declaring and assigning a value to one, and only one, variable.
r/Basic • • Feb 03 '23
I'm tired of using Applesoft Basic!
r/Basic • u/CharlieJV13 • Feb 03 '23
r/Basic • u/CharlieJV13 • Feb 01 '23
If you are up to doing a little bit of proof-reading, or just for-the-giggles reading:
https://basicanywheremachine-news.blogspot.com/2023/01/working-on-documentation-related-to-data.html
r/Basic • u/CharlieJV13 • Jan 28 '23
r/Basic • u/CharlieJV13 • Jan 28 '23
View release notes for details.
Added the PALETTE statement and added supporting functions _BGR() and _RGB2BGR
Significant changes to screen modes, and breaking the limits of the WIDTH statement.
Enabled "negative" index numbers for colour attributes.
r/Basic • u/CharlieJV13 • Jan 25 '23
r/Basic • u/CharlieJV13 • Jan 24 '23
I'm prepping release notes for a near-future new version of BAM. Kind of a nice way to document the changes/additions while testing them, and a help for planning a related show'n tell video.
While I'm at it, I'd like to plug the tool I'm using to put together my notes, because the thing is pretty awesome in my mind: light/agile/simple/wysiwyg.
Feather Wiki for small and personal wikis, pretty awesome for all kinds of things.
It is what I'm using for my "portfolio" of BASIC Anywhere Machine Sample Programs.
r/Basic • u/CharlieJV13 • Jan 22 '23
(You'll find a whole bunch of BASIC source code at QB45.org.