BASIC

From Maze

(Difference between revisions)
Jump to: navigation, search
Line 7:Line 7:
** Discussion of how much variation there was in BASIC dialects on contemporaneous machines
** Discussion of how much variation there was in BASIC dialects on contemporaneous machines
** The role of BASIC today
** The role of BASIC today
−
* PRINT
 
−
** history
 
−
** text fields
 
−
** semicolon
 
−
* Flow control
 
−
** BASIC not a structured programming language (no blocks, etc.)
 
−
** Many of BASIC's control flow concepts are taken directly from machine language
 
−
** GOTO
 
−
*** Dijkstra's arguments against GOTO.
 
−
** FOR NEXT
+
* BASIC technical topics introduced through their inclusion in the program of study
−
*** Demonstrate GOTOless version of program
+
** Line numbers
−
** GOSUB
+
*** Flow control
−
**
+
**** BASIC not a structured programming language (no blocks, etc.)
 +
**** Many of BASIC's control flow concepts are taken directly from machine language
 +
**** GOTO
 +
***** Dijkstra's arguments against GOTO.
 +
**** FOR NEXT
 +
***** Demonstrate GOTOless version of program
 +
**** GOSUB
 +
**** IF THEN
 +
** PRINT
 +
*** Originally used for output to print terminals
 +
*** text fields
 +
*** semicolon

Revision as of 15:10, 11 January 2011

View this revision of BASIC.

Personal tools