[comp.sys.cbm] Conversion from runnable BASIC to text BASIC

dattier@ddsw1.MCS.COM (David W. Tamkin) (10/15/90)

Scott Stephen asked in <14443.27162735@max.u.washington.edu>:

| The other problem that I am referring to
| is, of course, going the other way, from runnable BASIC to           
| text BASIC.  Are there also such nifty solutions/routines to 
| solve this problem?

The answer has already been posted to the thread of your previous question.
Gregg Riedel wrote the following in <4170@bingvaxu.cc.binghamton.edu>, when
he was explaining how to prepare additional text listings of programs.
However, it needs one small addition:

>          Type   OPEN 5,8,4,"0:filename,s,w"
>                 CMD5: LIST
                  PRINT#5;
>                 CLOSE5

The above can all be strung on a single line with colons.  It is, in any
case, a good idea to put at least CMD5 and LIST on the same line to avoid
getting "ready." in the disk file an extra time at the beginning of the
listing.  I don't think that you can avoid the "ready." at the end by putting
CMD5:LIST:PRINT#5; onto a single command line, though.

David Tamkin  Box 7002  Des Plaines IL  60018-7002  708 518 6769  312 693 0591
MCI Mail: 426-1818  GEnie: D.W.TAMKIN  CIS: 73720,1570   dattier@ddsw1.mcs.com