basic_1964.pdf

(947 KB) Pobierz
BASIC
Dartmouth College
Computation Center
1 October 1964
BASIC
A Manual for BASIC, the elementary
algebraic language designed for use
with the Dartmouth Time Sharing System.
1 October 1964
Copyright 1964 by the Trustees of
Dartmouth College. Reproduction for
non-commercial use is permitted provided
due credit is given to Dartmouth College.
The
developm~nt
of the BASIC Language.
and of this Manual, has been supported
in part by the National Science Foundation
under the terms of Grant NSF GE
3864.
TABLE OF CONTENTS
I
II
What is a Program
A BASIC Primer
2. 1 An Example
2.2 Expressions, Numbers, and Variables
2.3
Loops
1
3
3
8
12
14
21
26
31
31
36
39
43
50
50
50
50
51
53
53
55
56
2.4 Use of the Time Sharing System
2.5
Errors and Debugging
2.6 Summary of Elementary BASIC Statements
III
More Advanced BASIC
3. 1 More About PRINT
3.2
Lists and Tables
3.3 Functions and Subroutines
3.4 Some Ideas for More Advanced Programmers
IV
Card BASIC
4.1
Purpose
4.2 How to Prepare a Deck
4.3 Differences in Operation
4.4 MAT
V
Appendices
A.
B.
C.
Error Stops
Limitations on BASIC
The 15 BASIC Statements
Zgłoś jeśli naruszono regulamin