I have written several short programs (it a thing which includes no FOR
nor IF statements can be called a program) which seem to be useful for
my teaching activities.
At first I tried to implement these in the form of small spreadsheet
tables (I used the SC spreadsheet). It almost worked until I learned
that expression over certain length cannot work in the SC. It is
probably possible to divide the expression to several cells but I gave
up.
Then I wrote the same thing in the BBC BASIC (I have used my ppc64le
port of the Brandy BASIC interpreter, actually). It has been easier and
it actually have worked. The only issue I noticed was unavailability of
the SQR or SQRT function (but the ^0.5 operator have worked well).
So I have made a 3 short programs and they works. I also have tested
them with the ByWater BASIC on the SDF (so on the NetBSD/amd64) and
they work there, too. Next step will be the real thing (the Cambridge
Z88).
In meantime, I tried to write one of these programs in the OPL on my
PSION Organiser II. It was even easier.