[Coco] How to use runb?

Walter Zambotti zambotti at iinet.net.au
Sun Apr 5 01:16:27 EDT 2020


Wayne

The code looks like this:

(I have retyped this by hand so there may be typos)

DIM lcnt:INTEGER
DIM line:STRING
lcnt=0
WHILE NOT(EOF(#0)) DO
    READ #0,line
    lcnt=lcnt+1
    WRITE #1,STR$(lcnt)+": "+line
    ENDWHILE
END

Walter

-----Original Message-----
From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of Wayne Campbell
Sent: Sunday, 5 April 2020 12:51 PM
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Subject: Re: [Coco] How to use runb?

Without seeing your code, it's hard to say. that error just means that there is something in your code that is not right. The only way to know is to see the code and see where the error is occurring.

Wayne

On Sat, Apr 4, 2020, 9:37 PM 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
>

--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list