07-31-2023, 06:29 PM
(07-31-2023, 02:08 PM)bplus Wrote: @James D Jarvis do you have any sample / demo programs to go with Tiny Basic? specially an example with chain and merge, you have me curious. I never used either in earlier Basics.
Good ones I wrote? I wrote non-exciting ones to test the merge and chain options, but they were likely boring as mud and almost as useful.
Tinytest.bas
Code: (Select All)
'tinytest
subone=299:'variables and expressions can be used in gosub and goto statements
for x =1 to 10
print x
a=x
if x<5 then gosub subone
next x
goto 400
299 'subone
300 print "less then 5"
return
400 'hello there
tinytest2.bas
Code: (Select All)
'Tinytest2
print "well well well"
for n = 1 to a
print n
next n
tinytest3.bas
Code: (Select All)
'tinytest3
cls
print a