[Coco] A bug in Basic09/RunB

Willard Goosey goosey at virgo.sdc.org
Tue Dec 8 14:42:55 EST 2009


On Tue, Dec 08, 2009 at 12:58:28AM -0800, Wayne Campbell wrote:

>I just know 
> that the way Basic09 handles data, passing anything to anything should be 
> possible, as long as the sum of the sizes is equal to the size requested by 
> the called procedure. 

Yes, but the called module's code makes the assumption that what you
passed it was what it expects.  Even if the sizes match up, if you
take an array of reals and pass it to a module that expects an array
of ints, the module's code is going to error out (if it figures out
the problem) or worse, return total garbage.

Willard
-- 
Willard Goosey  goosey at sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard



More information about the Coco mailing list