Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : PANSI.EX1

 
Output of file : PANSI.EX1 contained in archive : QBFAQR01.ZIP
'PANSI2.BAS
'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


  3 Responses to “Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : PANSI.EX1

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/