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

[no subject]



The question occurs once or twice a month on the  newsgroup, "How do I
convert my AppleWorks BASIC programs to ASCII files so I can perform
the following (sometimes indecent actions), with them?

There always appears a working version of a single line BASIC program
to do the job, unfortunately, IMHO it doesn't measure up to the
following. Enter the following as a SINGLE line in a TEXT file, save it
as "FILE"

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

LOAD "basic file in question"
EXEC FILE (The file name you saved the one-liner above in.)
RUN

Answer "save file as name" question and you are done.

If the BASIC program uses line 0 you can change the above to load at
line 65000 and change the list 1 - to list 1 64999

OR

You can pick an unused line in the BASIC file and later enter the ASCII
file and delete the offending line.

Kind Regards,
-- 

		Joe Walters att!ihlpm!bird, NW 31-K14 (708) 224-7189
		To know, and not to do, is not yet to know