basic_language
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
basic_language [2023/06/30 00:18] – upsize all the section headings peteyboy | basic_language [2024/09/30 20:16] (current) – [Available BASIC Interpreters at SDF] void hc9 | ||
---|---|---|---|
Line 3: | Line 3: | ||
==== The basics of BASIC ==== | ==== The basics of BASIC ==== | ||
- | BASIC, which stands for **B**eginners **A**ll-Purpose **S**ymbolic **I**nstruction **C**ode is a programming language which was created at Dartmouth University by John Kemeny and Thomas Kurtz in the early 1960' | + | BASIC, which stands for **B**eginners **A**ll-Purpose **S**ymbolic **I**nstruction **C**ode is a programming language which was created at Dartmouth University by John Kemeny and Thomas Kurtz in the early 1960' |
+ | //basic4gl blitzbasic freebasic gwbasic locobasic mapbasic purebasic qbasic sdlbasic thinbasic xbasic zxbasic//)) (([[wp> | ||
+ | [[wp> | ||
One of the difficulties in learning BASIC lies in the wide array of BASIC compilers and interpreters that are currently in circulation. Each one of these programs comes with their own nuances and extensions to the BASIC programming language. The good news is that there is a lot of commonality between the various versions of BASIC, and once you've gained familiarity with one you can move to another pretty quickly. Best of all, there is a common thread which runs through all the various BASICs, and that is where we will begin. We'll start with a minimal subset of the language, one which will get you up and running with all the interpreters available on SDF. | One of the difficulties in learning BASIC lies in the wide array of BASIC compilers and interpreters that are currently in circulation. Each one of these programs comes with their own nuances and extensions to the BASIC programming language. The good news is that there is a lot of commonality between the various versions of BASIC, and once you've gained familiarity with one you can move to another pretty quickly. Best of all, there is a common thread which runs through all the various BASICs, and that is where we will begin. We'll start with a minimal subset of the language, one which will get you up and running with all the interpreters available on SDF. | ||
Line 9: | Line 11: | ||
Let's start with a simple working example. A classic one which children the world over have typed into computers since the dawn of the 80's! | Let's start with a simple working example. A classic one which children the world over have typed into computers since the dawn of the 80's! | ||
- | < | + | < |
10 PRINT " | 10 PRINT " | ||
20 GOTO 10 | 20 GOTO 10 | ||
Line 16: | Line 18: | ||
If this is run through a BASIC interpreter, | If this is run through a BASIC interpreter, | ||
- | < | + | < |
HELLO | HELLO | ||
HELLO | HELLO | ||
Line 27: | Line 29: | ||
In fact, why don't we try this out in one of our several BASIC interpreters! Go ahead and fire up bwbasic. To do this, just type " | In fact, why don't we try this out in one of our several BASIC interpreters! Go ahead and fire up bwbasic. To do this, just type " | ||
- | < | + | < |
######## | ######## | ||
## ## | ## ## | ||
Line 140: | Line 142: | ||
//This is exactly how to use BASIC at SDF with a plethora of fun and interesting programming examples just for you!// | //This is exactly how to use BASIC at SDF with a plethora of fun and interesting programming examples just for you!// | ||
+ | |||
+ | * **Using BASIC** | ||
+ | * '' | ||
+ | * '' | ||
+ | * **BASIC Programming Language** | ||
+ | * '' | ||
+ | * '' | ||
+ | * …//our repository for [[https:// | ||
---- | ---- | ||
+ | |||
$Id: basic-language.html, | $Id: basic-language.html, | ||
+ |
basic_language.1688084325.txt · Last modified: 2023/06/30 00:18 by peteyboy