CPCWiki forum

General Category => Programming => Topic started by: funkheld on 11:47, 15 November 18

Title: How can I translate a basic program for the CPC into text?
Post by: funkheld on 11:47, 15 November 18

Hi good afternoon.


How can I translate a basic program for the CPC into text?
Is it somehow with Javacpc?


Thank you.
Greeting
Title: Re: How can I translate a basic program for the CPC into text?
Post by: Audronic on 13:05, 15 November 18
Can you save the Program as an " ascii ' file it should then be readable ?


Save"xxx",a


Ray
Title: Re: How can I translate a basic program for the CPC into text?
Post by: ervin on 15:08, 15 November 18
Here's how I do it.

In WinAPE, in the settings you'll find the "Other" tab.
On this tab is the Printer section.

Set the printer to "File", and then select a text file (or enter the full path and file name of a text file).
I simply use C:\printer.txt

Then in the CPC window, type:

list #8

That will output whatever BASIC program is in the CPC's memory to the printer text file.

https://www.dropbox.com/s/bed1s6ttovt86e7/list8.png?dl=0 (https://www.dropbox.com/s/bed1s6ttovt86e7/list8.png?dl=0)
Title: Re: How can I translate a basic program for the CPC into text?
Post by: Fessor on 19:43, 15 November 18
To keep long Basic Lines complete set the printer width to 255.

width 255
list #8
Title: Re: How can I translate a basic program for the CPC into text?
Post by: funkheld on 22:42, 15 November 18
Thanks .


Greeting.



Powered by SMFPacks Menu Editor Mod