SPFVIEW.BAS

Go back

Below you'll find the source for the QBasic file SPFVIEW.BAS.

I've been in doubt if I'd republish this file again. Mainly for a few reasons;
1. The stuff I made as a kid is very childish (which kinda makes sense)
2. Times have changed; what was funny/innovative or sharable in 1997 doesn't meet standards in 2024.
3. Most of the code doesn't run natively anymore on modern operating systems.
4. It's in the Dutch language, where most of my shared content is in English.

Still, I've decided to share this file. Keep in mind the age of this content though.

Download SPFVIEW.BAS for QBasic

FILES "*.spf"
LINE INPUT "SPF-bestand: "; Spf$
a = INSTR(Spf$, ".")
IF a = 0 THEN Spf$ = Spf$ + ".SPF"
SCREEN 13
OPEN Spf$ FOR INPUT AS #1
   INPUT #1, KleurenTotaal
   FOR a = 1 TO KleurenTotaal
      INPUT #1, b
      PALETTE a - 1, b
   NEXT a
   DO UNTIL EOF(1)
      LINE INPUT #1, a$
      DRAW a$
   LOOP
CLOSE #1