CCS64 KNOWLEDGE BASE ARTICLE

 

Article ID:

CCS64-KB-H-004

Article Type:

HowTo

Version Applicability:

All CCS64 Versions

Module Applicability:

Device

 


 

DESCRIPTION :

 

You want to be able to save a BASIC program listing to a text file for later use.

 

CAUSE :

 

You want to be able to manipulate a BASIC program listing in some manner, or you want to save a BASIC program listing for future reference, outside of the CCS64 environment.

 

SOLUTION :

 

Make sure that in the Printer Device 4 sub-menu, you have Device 4 Emulation set to “File” and you have the corresponding File Name set to some valid TXT file name (e.g. “Printer4.txt”).  When you have your BASIC program in memory, enter the following BASIC commands, in order to save your BASIC program listing to the text file entered, in the CCS64 installation folder:

 

OPEN 4,4

CMD 4,”PROGRAM LISTING”

LIST

PRINT#4

CLOSE 4

 

Note that black squares appear in the text file that is created, in the place of carriage-returns.

 

STATUS :

 

This article is for information purposes only.

 

VERSION :