[Coco] How to use runb?

William Carlin whcarlinjr at gmail.com
Sun Apr 5 02:37:14 EDT 2020


Walter,

I think that reading from a pipe requires that you read one byte at a
time.  If you want to convert that input into a string then you will need
to concatenate it into a string one byte at a time.


---
William Carlin, Jr.


On Sun, Apr 5, 2020 at 12:37 AM Walter Zambotti <zambotti at iinet.net.au>
wrote:

> I thought this should be simple enough.
>
>
>
> I have a very simple (9 line) basic09 program (called pipe.b09) that runs
> fine in basic09. It just reads and writes from stdio.
>
>
>
> I have packed it and rerun the packed code in basic09 and all is good.
>
>
>
> I can see the i-code module in the execution directory and confirmed it is
> an i-code module with ident.
>
>
>
> When I attempt to run the module with runb (runb pipe) I get error #51
> (line
> with compiler error).
>
>
>
> Am I missing something?
>
>
>
> Walter
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list