Jump to content

BASIC

From Simple English Wikipedia, the free encyclopedia

BASIC is one of the first programming languages ever to be created. It was first used as a programming language on minicomputers in the late 1960s. Later, most home computers shipped with BASIC in ROM. The name is an acronym (a word made from other words) that spells Beginner's All-purpose Symbolic Instruction Code.

It was designed by John Kemeny and Thomas Kurtz in 1963. It was based in part on Fortran and made to follow these eight principles:

  1. Be easy for beginners to use
  2. Be a general-purpose programming language
  3. Allow extra features to be added for experienced programmers.
  4. Be interactive
  5. Provide clear and friendly error messages
  6. Fast results for small programs
  7. Does not require knowledge about computer hardware
  8. Stop the user from editing the operating system

The creators made the compiler free of charge to make programmers interested in using the language. Since the creation, many other compilers and interpreters have been made so users can make their programs.

Code example

[change | change source]
10 LET N=10
20 FOR I=1 TO N
30 PRINT "Hello, World!"
40 NEXT I

This puts Hello, World! on the screen 10 times.