[Coco] Sharing a value with the calling routine in Basic09

coco at jechar.ca coco at jechar.ca
Sat Aug 15 14:17:49 EDT 2020


Would like to know if there is a standard way to pass back the
value from a called routine to the caller. Cannot use GOSUB the
routines need to be separate modules although a merged module file
could be created by OS9 afterwards to make sure that if one module
is loaded the other is too.

I have an Idea involving ADDR PEEK and POKE of course if I am wrong
this could go very wrong.

Charlie




More information about the Coco mailing list