CPCWiki forum

General Category => Programming => Topic started by: feax on 19:28, 25 August 20

Title: How do you export Basic code from WinApe emulator to text file?
Post by: feax on 19:28, 25 August 20
I have written some code in Locomotive Basic that I would like to export as txt file.
Title: Re: How do you export Basic code from WinApe emulator to text file?
Post by: GeoffB17 on 21:14, 25 August 20
I'll answer the bit I do know about, but I don't know how you've got the emulater set up, so I cannot say a lot about that.

You'll need to LOAD the BASIC code back into Loco BASIC, and then resave it as ASC which is normally:

SAVE "PROG.TXT",A

If you don't put the extension in, the file will be saved as .BAS which might overwrite your actual .BAS file, which you may not want.   The ,A on the end forces the save as ASC (i.e. plain text) rather than the encoded (tokenised) BASIC.

Then, you need to put the file somewhere that you can get at it when you come out of WinApe, and that will depend on how things are set up, and what you want to do with it later.

Geoff



Title: Re: How do you export Basic code from WinApe emulator to text file?
Post by: Johnny Olsen on 22:13, 25 August 20
https://www.cpcwiki.eu/forum/emulators/copy-basic-code-in-winape/msg185216/#msg185216
Title: Re: How do you export Basic code from WinApe emulator to text file?
Post by: GUNHED on 15:41, 26 August 20
Use JavaCPC for all that.
Title: Re: How do you export Basic code from WinApe emulator to text file?
Post by: John_Vella on 21:42, 26 August 20
I am planning on doing some BASIC programming when I get a little time, but I was going to type the code into Notepad++ on my PC then paste it into WinAPE, saving it once it's working. The reason is that I'm not used to the Amstrad keyboard layout yet, and it should make it quicker.


Am I making life difficult for myself?

Powered by SMFPacks Menu Editor Mod