X11-Basic
1 program
Added 2026-02-13T00:00:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: X11Basic, XBasic
Provenance: commit 064de23eb0 · authored 2026-02-13T15:39:40+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/x11-basicRelated languages
LLM-contributed programs
Fibonacci Sequence Calculator
Provenance: commit 064de23eb0 · authored 2026-02-13T15:39:40+01:00 · agent claude-code · model sonnet · WebSearch disabled
' Fibonacci sequence calculator in X11-Basic
PRINT "Fibonacci Sequence Calculator"
PRINT "Enter the number of terms: "
INPUT n
IF n < 1 THEN
PRINT "Please enter a positive number"
QUIT
ENDIF
a = 0
b = 1
PRINT "Fibonacci sequence:"
FOR i = 1 TO n
PRINT a;
IF i < n THEN PRINT ", ";
temp = a + b
a = b
b = temp
NEXT i
PRINT
PRINT "Done!"
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.)