BASIC is 50 years old!
|
04-15-2014, 02:13 PM
(This post was last modified: 04-19-2014 08:23 AM by Don Shepherd.)
Post: #25
|
|||
|
|||
RE: BASIC is 50 years old!
In honor of BASIC's 50th anniversary on May 1, 2014, I list the first meaningful BASIC program I wrote, in spring 1973 for a Physical Geography class at the University of Louisville under Dr. John Anderson, one of the best teachers I have ever known. I wrote the program on a teletype machine connected to a HP-2000C minicomputer running BASIC.
Interestingly, the program uses the INPUT statement which was lacking in the original Dartmouth BASIC in 1964. That BASIC was not interactive. It wasn't until 1966 with BASIC version 3 that the INPUT statement was introduced, allowing a wide variety of interactive programs (and games of course). The program also uses string variables (A$) which appeared in BASIC version 4 in 1968. The program determines the Koppen classification code for a given region based on user responses to questions. This was a common method for classifying different types of climate regions for areas on earth based on precipitation and temperature, and it was very easy to code in BASIC. Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)