Date : Wed, 15 Dec 1999 13:23:50 +0000 (GMT)
From : u7c92@... (Christopher)
Subject: Re: Mode 7 file
Hi,
A simple program like this one:
0 MODE 7
10 INPUT "Input file",infile$
20 I%=OPENIN infile$
30 REPEAT
40 X%=BGET£ I%
50 IF X%<32 OR X%>127 X%=ASC"."
60 VDU X%
70 UNTIL EOF£ I%
will dump 'infile$' to the screen; normal characters (in the ASCII
range 32-126) will be displayed, but a full stop (ASC"." in line 50)
will be substituted for any control code.
Alternatively, insert the following lines:
15 INPUT "Output file",outfile$
25 O%=OPENOUT outfile$
65 BPUT£ O%,X%
which will create a file 'outfile$' stripped of control codes.
I don't know if this is of any help, as presumably the control codes
meant something to the program that created the original file (e.g.
highlight codes in View).
Christopher.
********************
Christopher Dewhurst
u7c92@...
29 Scot Hay Road, Silverdale, Newcastle-u-Lyme, Staffs, ST5 6RQ