BASIC Infinite Loop

From Homestar Runner Wiki

Jump to: navigation, search
"Am I doing this right?!"

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:

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.

[edit] Appearances

Personal tools