Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : PANSI.EX1
'Prints an ANSI file to the screen.
'Set Filename$ to the pathname of an ANSI file.
'Uses PANSI.BAS
DEFINT A-Z
'$INCLUDE: 'pansi.bi'
FileName$ = "pansi.doc"
SCREEN 0
WIDTH 80, 25
LOCATE , , 1
Init
SetWindow 1, 1, 80, 25
ClearScreen
CursorControl 1
OPEN FileName$ FOR BINARY AS #1
B$ = STRING$(10000, 0) 'uses a 10,000 byte buffer
FOR A = 1 TO LOF(1) \ 10000
GET #1, , B$
PrintString B$
NEXT
B$ = STRING$(LOF(1) MOD 10000, 0)
GET #1, , B$
PrintString B$
CLOSE
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/