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.

A specialized version of BASIC is Blitz BASIC. It is specially for coding games.[1]

History[change | change source]

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]

for x=9/3*9+9
print x
next x

Code prints number 36 to screen.

References[change | change source]

  1. "Welcome to the Blitz Research Homepage". Archived from the original on 2016-03-31. Retrieved 2013-07-20.