Path: utzoo!attcan!uunet!bu.edu!snorkelwacker!bloom-beacon!athena.mit.edu!randy From: randy@athena.mit.edu (Randall W Winchester) Newsgroups: comp.sys.cbm Subject: Re: Convertion from runnable-BASIC to text-BASIC Keywords: CSDOS Message-ID: <1990Oct15.164539.20791@athena.mit.edu> Date: 15 Oct 90 16:45:39 GMT References: <14423.27130fa4@max.u.washington.edu> <14443.27162735@max.u.washington.edu> Sender: daemon@athena.mit.edu (Mr Background) Reply-To: randy@mit.edu (Randall W Winchester) Organization: Massachusetts Institute of Technology Lines: 28 Scott, If you're doing your work on the C128, I suggest you boot up CS-DOS for your BASIC programming sessions. I've had CS-DOS for some time now, but only just started to use it while programming in BASIC. In addition to some excellent features, such as forward and backward scrolling of program listings, and commands to find and change strings in a program, the CS-DOS shell handles the text-BASIC <-> runnable-BASIC problem with minimal fuss. To send a program listing to a disk file, simply load the program, then type: list > file.lst To tokenize a program listing back into a runnable BASIC program, just type: exec file.lst Exec will read the file line by line and try to execute it, but since the lines have line numbers it enters them as program lines. If you do a list, you'll see the program in memory ready to run. ******************************************************************************* * Randy Winchester * randy@mit.edu * PO Box 1074, Cambridge, MA 02142 * *******************************************************************************