[Coco] Creating a formatted text file of a BASIC09 program…?

Christopher R. Hawks chawks at dls.net
Wed Aug 10 15:51:23 EDT 2022


On Wed, 10 Aug 2022 10:25:52 -0500
Allen Huffman via Coco <coco at maltedmedia.com> wrote:

> When you use BASIC09, the editor makes the source code look nice, all
> spaced out to tabs and such.
> 
> Is there a way to capture this spaced output to another file? Like
> “list file.txt >newfile.txt” via some command for B09?
> 
> I am going to be working on an article series on converting Color
> BASIC to BASIC09 and I don’t want to have to manually pretty up the
> B09 source code.
> 
> Thanks,
> 
> --
> Allen Huffman - PO Box 7634 - Urbandale IA 50323 - 515-999-0227
> (vmail/TXT only) http://www.subethasoftware.com -
> https://www.facebook.com/subethasoftware
> http://www.PayPal.me/AllenHuffman.
> http://swagbucks.com/refer/allenhuffman
> 

Allen:

    Correct (almost). You don't list files, you list procedures. And
you can list more than one to a disk file (or printer).

list main.bas subs.bas end.bas > filename.list


Christopher R. Hawks
HAWKSoft
-- 
I used to believe in forever, but forever's too good to be true
                     ---Winnie Ther Pooh
----------------------------------------
       \   ^__^                         
        \  (oo)\_______                 
           (__)\       )\/\           
               ||----w |                
               ||     ||                


More information about the Coco mailing list