PACO.IO

Obsidian Vault Portal v2.0
guest@paco.io:~$ cat "_posts/2016-03-18-demo-brag-a-basic-program-from-the-past.md"

Restoration note: The original 2016 page depended on a Replit embed that is no longer a durable archive. In 2026, the surviving BASIC source was recovered from idtprof/code/basic/demo-brag.bas and preserved here. The source is reproduced unchanged; the browser runner applies one documented compatibility repair described below.

Run DEMO BRAG


  

This is a small, dependency-free compatibility runner for DEMO BRAG, not a claim to be a complete GW-BASIC or QBasic emulator. It preserves the command-line feel of a BASIC machine: type RUN to start, LIST to inspect the archived source, or use the buttons above. Nothing is sent to Replit or another execution service.

The compatibility repair

The surviving source calls its day-count subroutine at line 400 before assigning the entered birth date to the subroutine variables BY, BM, and BD. The runner therefore performs the evidently intended equivalent of:

395 BY = BYEAR : BM = BMON : BD = BDAY

immediately before line 400. That line has not been inserted into the archived .bas file. The source below remains exactly as recovered from the idtprof/code repository.

View the preserved BASIC source
Loading preserved source…

View the preserved source file directly