Work in progress — This wiki is an active migration / mirror of Homestar Runner Wiki and is not finished yet. Account registration and public editing are turned off until the migration is further along. For status updates, see the migration thread on the forums.

BASIC Infinite Loop

From HR Wiki Twice
Revision as of 01:53, 14 July 2026 by imported>HRWikiMirrorBot (Imported from hrwiki.org via Wayback Machine (HTML→wikitext))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

BASIC is an early high-level programming language that became popular for home computers in the 1980s. The original Dartmouth BASIC spawned several different dialects of the language. In BASIC's heyday, it was common (either as a pastime or a prank) to create an infinite loop in BASIC that constantly fills the screen with the same line of text, and several instances of this appear in the Homestar Runner body of work. The BASIC code is simple:

10 print "NASA"
20 goto 10

Giving each line of code its own number (which is required in certain dialects), an instruction to print a line of text is performed, and then the next instruction points back to that. Until the program is interrupted or terminated, the program constantly prints that text.

Appearances