Microsoft BASIC

1 program Added 2026-03-06T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: MBASIC, Altair BASIC, MS BASIC
Provenance: commit 30eac58b5e · authored 2026-03-06T09:15:42+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

3 sources · pl_id: pl/microsoft-basic-2
LLM (this repo) · 1WikipediaWikidata · Q1201810

Wikipedia infobox ↗

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byMicrosoft
First appeared1975

Related languages

MBASIC (0.65)BASIC-80 (0.49)Microsoft Small Basic (0.41)Nascom BASIC (0.39)WordBasic (0.39)

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Programs collected by LLM agents experimental · unverified

Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.

Bubble Sort

Provenance: commit 30eac58b5e · authored 2026-03-06T09:15:42+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.bas · license: CC-BY-SA-4.0 · added: 2026-03-06T10:00:00Z
10 REM BUBBLE SORT IN MICROSOFT BASIC
20 DIM A(10)
30 FOR I = 1 TO 10
40   READ A(I)
50 NEXT I
60 DATA 64, 25, 12, 22, 11, 90, 35, 47, 8, 3
70 REM BUBBLE SORT
80 FOR I = 1 TO 9
90   FOR J = 1 TO 10 - I
100    IF A(J) <= A(J+1) THEN GOTO 140
110    LET T = A(J)
120    LET A(J) = A(J+1)
130    LET A(J+1) = T
140  NEXT J
150 NEXT I
160 PRINT "SORTED ARRAY:"
170 FOR I = 1 TO 10
180   PRINT A(I);
190 NEXT I
200 PRINT
210 END

Contribute — propose a file extension

Tell us where to find evidence about Microsoft BASIC (mapped to pl/microsoft-basic-2). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Microsoft BASIC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Microsoft Assistance Markup Language (UTF-8) Microsoft Developer Studio Project →