Friday, November 08, 2024

BASIC programming language

Microsoft as company was created on one product: BASIC interpreter.
BASIC still exists

BASIC - Wikipedia

BASIC (Beginners' All-purpose Symbolic Instruction Code)[1] is a family of general-purposehigh-level programming languages designed for ease of use. The original version was created by John G. Kemeny and Thomas E. Kurtz at Dartmouth College in 1963


QBasic - Wikipedia

Like QuickBASIC, but unlike earlier versions of Microsoft BASIC, QBasic is a structured programming language, supporting constructs such as subroutines.[2] Line numbers, a concept often associated with BASIC, are supported for compatibility, but are not considered good form, having been replaced by descriptive line labels.


Tiny BASIC - Wikipedia

Tiny BASIC is a family of dialects of the BASIC programming language that can fit into 4 or fewer KBs of memory.

davidtorosyan/ti-js: TI-Basic interpreter written in JavaScript.

JavaScript BASIC Interpreter (online)

10 cls
20 let h="Hello "
30 let w="World!"
40 for n=1 to 10 step 1
50   gosub 100
60   next n
70 end
100 print h;
110 print w
120 return


FreeBASIC - Wikipedia

FreeBASIC Language | Home

FreeBASIC is a free/open source (GPL), BASIC compiler for Microsoft Windows, DOS and Linux.

primeimages/freebasic - Docker Image | Docker Hub


Code


10 REM FACTORIAL
20 REM COMMODORE BASIC 2.0
30 INPUT "N=";N: GOSUB 100
40 PRINT N;"! =";F
50 GOTO 30
100 REM FACTORIAL CALC USING SIMPLE LOOP
110 F = 1
120 FOR I=1 TO N
130   F = F*I
140 NEXT
150 RETURN

No comments: