Difference between revisions of "BASIC"

From RogueBasin
Jump to navigation Jump to search
(expanded and clarified many, if not all statements)
m (Add Alphaman and VB, organise titles alphabetically)
 
(One intermediate revision by one other user not shown)
Line 18: Line 18:


==Characteristics==
==Characteristics==
Traditional BASIC is a procedural, imperative, unstructured language, with few types and no objects. This makes BASIC impractical for projects that require such elements. Another problem is portability, as BASIC probably has more dialects than any other programming language, owing to no formal standards.  
BASIC can be Non-Structured and Procedural. (And in the single case of Visual Basic, Object Oriented.) The BASIC family is unique in its variety, as BASIC probably has more dialects than any other programming language, owing to no formal standards during its boom of popularity. Perhaps its most famous characteristic is the ability to jump directly to a line of code with GOTO. For example, "IF Testing = 1 THEN GOTO Debug". There are no characters required to end each line, but lines can be concatenated in different ways with special characters such as the plus sign. There are many options when writing in BASIC, for example choosing whether you will use REMs or 's for comments.  


It can be valuable to beginner programmers as a forgiving first language, due to 'looking like pseudocode.' Ironically, that has been entire purpose all along.
BASIC can be valuable to beginner programmers as a forgiving first language, as it was originally designed for exactly that.


==Roguelikes written in BASIC==
==Roguelikes written in BASIC==
* [[Alphaman]]
* [[Sword of Fargoal]]
* [[Sword of Fargoal]]
* [[Telengard]]
* [[The Tomb of Drewan]]
* [[The Tomb of Drewan]]
* [[Telengard]]


==See also==
==See also==
* [[Bcx Basic]]
* [[Bcx Basic]]
* [[FreeBASIC]]
* [[FreeBASIC]]
* [[Visual Basic]]


[[Category:Articles]]
[[Category:Articles]]
[[Category:Programming languages]]
[[Category:Programming languages]]

Latest revision as of 10:12, 13 July 2021

BASIC
Programming Language
Company multiple
Influences
Updated
Status Stable
Licensing multiple
Platforms IBM PC, Atari, Commodore, Texas Instruments calculators
[ Official site of BASIC]


BASIC (Beginner's All-purpose Symbolic Instruction Code) is a family of general-purpose high-level programming languages, first introduced in 1964. As the name suggests, it was created to introduce newcomers to programming.

Origins and historical use

BASIC was originally created to enable students without science or mathematics majors to use computers. Its low complexity led to great popularity in the late 1970s and 1980s. Most microcomputer companies at the time included firmware implementations of BASIC in their products, including Apple, Atari, Commodore and IBM, effectively making it a standard for home computing as well as for small businesses and hobbyists.

Its legacy survives in the form of a huge number of dialects, including classics like QuickBASIC, modern dialects like QB64, and literally thousands of obscure dialects for specific machines. Visual Basic and Visual Basic .NET are object-oriented languages, but are technically also in the BASIC family. Some advanced calculators, most famously the Texas Instruments series, can be programmed using the dialect TI-BASIC.

Characteristics

BASIC can be Non-Structured and Procedural. (And in the single case of Visual Basic, Object Oriented.) The BASIC family is unique in its variety, as BASIC probably has more dialects than any other programming language, owing to no formal standards during its boom of popularity. Perhaps its most famous characteristic is the ability to jump directly to a line of code with GOTO. For example, "IF Testing = 1 THEN GOTO Debug". There are no characters required to end each line, but lines can be concatenated in different ways with special characters such as the plus sign. There are many options when writing in BASIC, for example choosing whether you will use REMs or 's for comments.

BASIC can be valuable to beginner programmers as a forgiving first language, as it was originally designed for exactly that.

Roguelikes written in BASIC

See also