[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applesoft to Text Convert



In article <4gl0ed$hat@maureen.teleport.com>, Mark Trullinger
<markt@teleport.com> wrote:

> I need to find a way to convert a number of Applesoft Basic files
> into ascii text files, to be read by a conversion program.  I havn't
> the foggiest notion of how to do this.

1. Create a text file with the following as a SINGLE line. Name
   it anything you want e.g., fred

0 D$ =  CHR$ (4): INPUT "File Name?";A$: PRINT D$"OPEN"A$:
PRINT D$"WRITE"A$: LIST 1 - : PRINT D$"CLOSE": END

2. Go to BASIC prompt "]" and load file you want to convert
   
   LOAD FILE
   EXEC FRED

This will create a file consisting of "fred" as line 0 and your file
after it.

3. Type RUN and following the bouncing ball.

If your file has a line zero then you have to create a text file with
"FRED" past the last line and and the LIST 1 - changed to:
LIST 0 LineBeforeFred 

Hope this helps.


-- 
	Joe Walters:  bird@mcs.com or J.L.Walters@genie.com
	The sound of your horn is far sweeter if blown by somebody else.