MBASIC
1 program
Added 2025-02-10T14:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Microsoft BASIC
Provenance: commit 9d0cf969be · authored 2026-02-10T22:46:15+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/mbasicWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | imperative |
|---|---|
| Designed by | Microsoft |
| Influenced by | BASIC |
| Homepage | http://www.microsoft.com |
Related languages
BASIC-80 (0.69)Microsoft BASIC (0.65)Microsoft Small Basic (0.57)Nascom BASIC (0.53)WordBasic (0.53)
LLM-contributed programs
Prime Number Generator
Provenance: commit 9d0cf969be · authored 2026-02-10T22:46:15+01:00 · agent claude-code · model sonnet · WebSearch disabled
10 REM Prime Number Generator
20 REM MBASIC Program to find prime numbers up to N
30 PRINT "Prime Number Generator"
40 PRINT
50 INPUT "Enter maximum number: ", N
60 IF N < 2 THEN PRINT "No primes less than 2": GOTO 200
70 PRINT "Prime numbers up to"; N; ":"
80 PRINT
90 FOR I = 2 TO N
100 ISPRIME = 1
110 IF I > 2 THEN IF I MOD 2 = 0 THEN ISPRIME = 0: GOTO 170
120 LIMIT = INT(SQR(I))
130 FOR J = 3 TO LIMIT STEP 2
140 IF I MOD J = 0 THEN ISPRIME = 0: GOTO 160
150 NEXT J
160 REM Check if prime flag is still set
170 IF ISPRIME = 1 THEN PRINT I
180 NEXT I
190 PRINT
200 END
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.)