BASIC
acronymKept in this browser · My desk
Stands for: Beginner's All-purpose Symbolic Instruction Code
The Beginner's All-purpose Symbolic Instruction Code, created by John Kemeny and Thomas Kurtz at Dartmouth College, first run at 4 a.m. on 1 May 1964.
BASIC was built with a time-sharing system on a GE-225 by Kemeny, Kurtz and undergraduates, for students with no programming background.
What it is. BASIC, the Beginner's All-purpose Symbolic Instruction Code, was created by John Kemeny and Thomas Kurtz at Dartmouth College for students with no programming background, and first ran at 4 a.m. on 1 May 1964 on a GE-225, together with the time-sharing system they built with undergraduates so that many students could use one computer at once. MacTutor's biography of Kemeny dates the decision to 1963, when he and Kurtz "decided that they wanted to give students easy access to computing", and Kemeny's conviction that the language "could and should be exceedingly simple". Kemeny, born in Budapest in 1926, later became president of Dartmouth and, MacTutor notes, made it a condition that he keep teaching.
The original language. Kurtz summarized the first version in a note of 26 October 2005. There were fifteen statement types: LET (required for assignment), PRINT, END (also required), READ, DATA, GOTO, IF (a conditional GOTO), FOR, NEXT, GOSUB, RETURN, DEF, DIM, REM and STOP, with INPUT added slightly later. Variable names were a single letter or a letter followed by a digit, "286 possible variable names"; arrays without DIM ran from 0 to 10; all arithmetic was floating point, about 30 bits or roughly ten digits on the GE-225 and GE-235. There were ten numeric functions (ABS, ATN, COS, EXP, INT, LOG, RND, SIN, SQR and TAN), PRINT zones 15 characters wide with a 75-character margin, and up to 26 user functions named FNA to FNZ.
Quirks from the start. Kurtz recorded one anomaly: a leading minus sign had higher precedence than exponentiation, so -x^2 meant (-x)^2, "repaired in later versions". RND needed a dummy argument, RND(0), only "to get past the syntax scanner". Small rules like these, fixed differently in each later dialect, are why BASIC programs rarely moved between machines unchanged.
The microcomputer language. The Computer History Museum notes that most early personal computers shipped with a version of BASIC, which made it the first language of a generation. The best-known commercial version began with the Altair. In his Open Letter to Hobbyists of 3 February 1976, printed in the Homebrew Computer Club newsletter, Bill Gates wrote that he and Paul Allen had hired Monte Davidoff and developed Altair BASIC, that there were now "4K, 8K, EXTENDED, ROM and DISK BASIC", that the computer time used was worth more than $40,000, and that "less than 10% of all Altair owners have bought BASIC", making the work worth "less than $2 an hour"; his complaint, "most of you steal your software", opened the argument about paying for software.
A standard for the core. As dialects multiplied, the European Computer Manufacturers Association published Standard ECMA-55, Minimal BASIC, in January 1978, fixing a small common core that every implementation could support.
In Brazil. BASIC was the language of the market reserve's micros, among them the TK82-C and TK85, clones of the Sinclair ZX81. The magazine Micro Sistemas shows how it spread: in August 1982 (no. 11) it carried a reader asking for simpler lessons in BASIC, advertisements for BASIC courses such as DATAPRO's course in programming personal microcomputers, and a machine advertised with "8 Kbytes of BASIC language" and 12 significant digits of precision; in June 1983 (no. 21) it reported that the Colégio Bandeirantes in São Paulo had bought a dozen TK82-C micros for its microcomputing course. Programs circulated as listings typed in by hand.
What goes wrong. Line numbers and GOTO made long programs hard to follow, which is the criticism Dijkstra's 1968 letter made famous; later BASICs added structured statements and dropped line numbers. Dialects disagreed on precedence, string handling and graphics, so a listing from one magazine rarely ran on another machine unchanged. And interpreted BASIC on an 8-bit micro was slow, which pushed ambitious programmers to machine code POKEd into memory.
Neighbours. BASIC is FORTRAN's simplified descendant, the first language of the home computer, the subject of type-in programs and of BASICODE, and the product that started Microsoft. Brazilian practice says BASIC.
Also known as: beginner's all-purpose symbolic instruction code, dartmouth basic
Sources
- Dartmouth College, BASIC Begins at Dartmouth: Kemeny and a student typed RUN at 4 a.m. on 1 May 1964; GE-225; Beginner's All-purpose Symbolic Instruction Code (read 2026-11-23)
- Computer History Museum, Timeline of Computer History, Software and Languages: Plankalkul 1945, A-0 1952, FORTRAN 1957, COBOL 1960, BASIC 1964, Simula 1965, Pascal 1970, C 1972, Perl 1987 (read 2026-11-23)
- Dartmouth College, BASIC at 50, BASIC Commands, note by Thomas E. Kurtz dated 26 October 2005: fifteen statement types; variable names of a letter or a letter and digit, 286 names; default array bounds 0 to 10; floating point of about 30 bits on the GE-225 and GE-235; ten functions; PRINT zones of 15 and a margin of 75; FNA to FNZ; the -x^2 anomaly; RND(0) (read 2026-11-23)
- MacTutor History of Mathematics, John Kemeny: born 31 May 1926 in Budapest, died 26 December 1992; in 1963 he and Thomas Kurtz decided to give students easy access to computing; co-inventor of BASIC and of a time-sharing system for students (read 2026-11-23)
- William Henry Gates III, An Open Letter to Hobbyists, 3 February 1976, in the Homebrew Computer Club Newsletter vol. 2 no. 1 (DigiBarn transcription): Altair BASIC developed with Paul Allen and Monte Davidoff; 4K, 8K, EXTENDED, ROM and DISK BASIC; computer time worth more than $40,000; less than 10% of Altair owners bought BASIC (read 2026-11-23)
- European Computer Manufacturers Association, Standard ECMA-55, Minimal BASIC, January 1978 (cover page of the scanned first edition read) (read 2026-11-23)
- Micro Sistemas no. 11, August 1982 (Internet Archive text): a reader's letter asking for simpler BASIC lessons; DATAPRO's course in BASIC for personal microcomputers; a micro advertised with 8 Kbytes of BASIC and 12 significant digits (read 2026-11-23)
- Micro Sistemas no. 21, June 1983 (Internet Archive text): the Colégio Bandeirantes bought a dozen TK82-C micros for its microcomputing course; drawing lessons for the TK82-C, TK85, NE-Z8000 and CP-200 (read 2026-11-23)