[Info-vax] Basic & Global sections
Hein RMS van den Heuvel
heinvandenheuvel at gmail.com
Fri Nov 5 00:22:38 EDT 2021
On Thursday, November 4, 2021 at 12:30:26 PM UTC-4, jdo... at gmail.com 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
It worked for me, back in the day!
The User guide has a small section dedication to this:
6.2.3 Creating Arrays with the COMMON Statement
So it's supposed to wrok one would think.
Please compile the writer, reader and declaration modules with /LIST/SHOW=MAP
Look for your (array) variables in the "Allocation information for COMMON <your common or map name>"
Look for similar 'sounding' variables outside the Psect.
Show us! I expect it to be a silly programming oversight.
If needed
Show us the MAP (or COMMON)
Show us the assignments from and to.
Remind us how you build the shareable (LINK /OPT ) and do the install.
And just in case, as with any and every support question:
Operating System version, Architecture, Compiler version.
I'm happy try it, but that's best done with an example close to your usage.
Cheers,
Hein
More information about the Info-vax
mailing list