[Info-vax] Basic & Global sections

chris chris-nospam at tridac.net
Fri Nov 5 14:27:43 EDT 2021


On 11/04/21 16:30, John Doppke wrote:
> Hey all,
>
> I've been playing with some inter-process communication via Basic using a global section.  It all works very well except for one thing - data in an array.  Everything else comes across nicely - strings, longs, etc.  But anything in an array written by one process never shows up in the other.
>
> Is there something inherent in the structure of a Basic array that doesn't work in a global section?
>
> I've also tried an installed shared psect image and that works OK.
>
> -John

You need to ensure that the array is copied to the global section, not 
just a pointer to it, which will be meaningless to the other process.

Not familiar with Basic, but suggest check that out...

Chris




More information about the Info-vax mailing list