[Coco] Basic09 Question

Wayne Campbell asa.rand at gmail.com
Sat Mar 16 07:00:32 EDT 2013


When you pack your procedures, use pack* to pack all procedures into a single merged module file.

You do not have to pack all. If each module is packed separately, the program will still run, but memory efficiency is impacted. (Each module will be loaded into it's own 8k block.)


Joel Ewy <jcewy at swbell.net> wrote:

>I'm working on a program in Basic09.  I'm editing it with TS/Edit (as 
>vi), and then loading it up into Basic09, then packing it and running it 
>with runb.  I've added a second procedure within the same source file, 
>at the end of the main procedure.  I call it from the main procedure 
>like so:
>
>RUN charconv(entity,character)
>
>When it gets to that point in the program, it comes up with error #43, 
>which is "Unknown Procedure".
>
>When I pack the program, do I need to pack both procedures separately 
>and then merge the I-code files?  Does it have to produce two separate 
>I-code files?  I notice that only the main (first) procedure is 
>mentioned when I ident the resulting I-code file.
>
>JCE
>
>--
>Coco mailing list
>Coco at maltedmedia.com
>http://five.pairlist.net/mailman/listinfo/coco


More information about the Coco mailing list