wywtk.com homepage What You Want To Know

BBC BASIC for SDL 2.0 with SDLIDE

Table of Contents
Help for people getting started

A great language for novice programmers
Learn about coding in a user friendly environment

(Page's URL: index-bas.htm)

I believe that BBC BASIC for SDL 2.0 is an excellent environment for people who want to learn about programming computers. About coding.

I wrote my first program in 1968... BASIC had not been invented. I taught computing in primary and secondary private boarding schools.

This project is new. There are not many pages here yet. If you want more, an email would be welcome. (Contact details at the bottom of the page.) Comments welcome, though at this stage, "trivial" tpyos can be ignored, if you don't mind?

These pages are not meant to replace some more polished resources which are available to you.

Some are accessible directly from the IDE. One resource I particularly like is the BBC BASIC wiki.

First things first...
This first page in the site, How to install the BBC BASIC emulator and IDE, is not meant for novice computer users. It is for the person in charge of any computer where someone would like the BBC BASIC emulator and IDE installed, so that the person who wants to learn can pursue the tutorials... and, if I've done them right, soon have fun writing things they want to write...




Tutorial Pages...

First tutorial: Hello World.I WOULD ASK EVERYONE TO READ THIS ONE first, to get us all off to a good start, on the same page. It introduces PRINT, INPUT, REPEAT... UNTIL, and the concept of "variables". It may be pretty simple minded and dull... but please humor me, and work through it.

Second tutorial: REPEAT... UNTIL and saving your code. REPEAT...UNTIL is useful, and saving your code is an important skill... and one that needs a bit of care when using BBC BASIC

Make a game/ exercise to help people learn the multiplication table. Mostly re-using things you already know! You can do a lot with what you know. RND (deliver a random number), IF... THEN, and IF... THEN... (multiple statements)... ENDIF introduced. Mention of TIME.

Doing drawings, computer graphics with BBC BASIC. PLOT, MOVE, DRAW, GCOL... and a note about SOUND.

More on drawing... but really about USING a SUBROUTINE with BBC BASIC. DEF PROC_MyProc. (And a brief outing for CIRCLE FILL.

Erasing lines- a nice simple tutorial for a change... Simple if you have done the earlier ones.

First steps with "arrays"- a fancy variable.

An important topic- arrays Arrays are a very useful kind of variable. This tutorial is harder than the ones before it on this list... but the subject is important. It is worth the work! (The next tutorial is also on arrays, and might be a better starting point. Do both, eventually.

The DATA keyword- A useful tool, with it's partner READ.




After you master the basics...

Where something is marked "just code" below, the page is mostly just some BBC Basic code. You can use Copy/Paste to "type" it into the BBC Basic IDE. There may be REMs in it to help you.


(Just code)- DEF_FN...- Not "necessary"... but your code will be better when you learn to use these. (At 20 Mar 25, this is a VERY LIMITED page! Just some code, to show you an example.)

(Just code)- Starburst by DATA READ...- Not "necessary" "JUST" FUN(?) (At 31 Mar 25, this is a VERY LIMITED page! Just some code, to show you an example.)

(Just code)- I have a very ill-informed idea of one type of "meditation": Breath in. Hold. Breath out. Hold. Repeat. I think you're supposed to try to prolong each stage. But also to repeat it many times, on more or less the same timings. So I wrote a program to let meditators see how well they are doing. The "finished" program works okay. It uses the GET keyword. // For the really curious learner, I've also uploaded a false start that was based on the INKEY keyword. Whichever version you play with, be sure to only press keys BRIEFLY. The auto-repeat and keyboard buffer can give rise to some puzzling results if you hold a key down.

(Just code)- Some scruffy bits and pieces relating to using the computer to encrypt/ decrypt text. It uses GET, ASC, CHR$




Mostly a note to myself: Yes! The Russell BBC BASIC can read/ write data files. See www.bbcbasic.net/wiki/doku.php?id=reading_20and_20writing_20csv_20files.





A few words from the sponsors...

Please get in touch if you discover flaws in this page. Please mention the page's URL. (wywtk.com/prgm/bas/index-bas.htm).

If you found this of interest, please mention in forums, give it a Facebook "like", Google "Plus", or whatever. If you want more of this stuff, help!? There's not much point in me writing these things, if no one feels they are of any use.



index sitemap
What's New at the Site Advanced search
Search tool (free) provided by FreeFind... whom I've used since 2002. Happy with it, obviously!

Unlike the clever Google search engine, this one merely looks for the words you type, so....
*    Spell them properly.
*    Don't bother with "How do I get rich?" That will merely return pages with "how", "do", "I"....

Please also note that I have four other sites, and that this search will not include them. They have their own search buttons.

My SheepdogSoftware.co.uk site, where you'll find my main homepage. It has links for other areas, such as education, programming, investing.

My SheepdogGuides.com site.

My SkyWoof.com site.

My site at Arunet.




How to email or write this page's editor, Tom Boyd. Please cite page's URL if you write.


Valid HTML? Page has been tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org.

AND tested for... Valid CSS?



(eXTReMe tracker icon) Why is there a script or hidden graphic on this page? I have my web-traffic monitored for me by eXTReMe tracker. They offer a free tracker. If you want to try one, check out their site. Neither my webpages nor my programs incorporate spyware, but if the page has Google ads, they also involve scripts. Why do I mention the script? Be sure you know all you need to about spyware.

....... P a g e . . . E n d s .....