Tutorial

Started by bplus, April 26, 2020, 16:24:11

Previous topic - Next topic

bplus

Oh hey! Someone finally started a tutorial http://smallbasic.github.io/docs/smallbasic.en.pdf

I hope they make it to the fancy, complex and more confusing stuff.

Must say the little that is there seems a bit awkward for such beginner lessons but at least diagrams are included. It's hard to make it look easy ;-) Thumbs way up for the effort to finally get one going.
1 person likes this

round157

Quote from: bplus on April 26, 2020, 16:24:11
Oh hey! Someone finally started a tutorial http://smallbasic.github.io/docs/smallbasic.en.pdf


Good.

If the user base of SmallBASIC is big, many tutorials will be written by enthusiastic users.



lettersquash

What the heck is that? I don't know who published it, but it's not been proofread, or it's not the smallBASIC I know. Lots of line numbers are stuck at the end of the line, lines are broken up haphazardly, etc., and some of it doesn't look like it would work even if that was sorted out! The author's first language isn't English, and I gather they're using "order" to mean "command", but it has weird stuff like:
10 Order REM IF - THEN - ELSE CLS 20
30 PRINT "AGE?" A 40
INPUT
50 IF A> 17 THEN PRINT "adult" ELSE PRINT "MINOR"

So we can fix the line breaks that have got messed up, but can you have "10 Order..." and why would "CLS" be stuck at the end ahead of line number 20? It looks like the whole thing has been through a word scrambler! :o
I'll have you know, I'm coding all the right commands, just not necessarily in the right order.

lettersquash

#3
Oh, I've just noticed this is linked from the Articles page of the website, along with the Catalan version, and the latter has the code correctly printed. Maybe someone put it through googletranslate or something, lol.

By the way - there's a lot of useful mini tutorials on various aspects in the "Articles" section of the website.

I've also got sbref_v2.txt on my system (from 0.12.14, I think), which is pretty good, but I don't see it in the latest distribution (for Windows). I'll see if I can attach it here.
I'll have you know, I'm coding all the right commands, just not necessarily in the right order.

bplus

#4
LOL and I just noticed the Articles have been updated and linked from original reference to SmallBasic.

Late 2014, 6++ years since I first encounter SmallBASIC from SourceForge doing near monolog at the ol place.

Tiny Basic what a great little teacher that code was!
1 person likes this

chrisws

Quote from: lettersquash on February 10, 2021, 19:40:01
What the heck is that? I don't know who published it, but it's not been proofread, or it's not the smallBASIC I know. Lots of line numbers are stuck at the end of the line, lines are broken up haphazardly, etc., and some of it doesn't look like it would work even if that was sorted out! The author's first language isn't English, and I gather they're using "order" to mean "command", but it has weird stuff like:
10 Order REM IF - THEN - ELSE CLS 20
30 PRINT "AGE?" A 40
INPUT
50 IF A> 17 THEN PRINT "adult" ELSE PRINT "MINOR"

So we can fix the line breaks that have got messed up, but can you have "10 Order..." and why would "CLS" be stuck at the end ahead of line number 20? It looks like the whole thing has been through a word scrambler! :o

Busted! I'm working on converting the PDF to a regular page and will fix the broken sample code and various other issues.




twgonder

#6
I tried the link and got a 404 error.
Anyone know where the tutorial went?

bplus

1 person likes this