01-23-2025, 09:43 PM
Hi Rho,
Yes, Dim Shared or Common Shared are the alternatives I mentioned. I expect I will end up with 2 INCLUDE statements, a bi and bm if I go that way. Thanks for the links. I'll have a look.
For those who haven't done multi-modular programming in qbasic days, Common Shared used to share variables across all modules where Dim Shared did not cross over into the separate modules. Multi-modular programming was a neat trick, back then, to raise the 64k limit of a program. In reality around 56k or so was the maximum you could squeeze into a single program or "module" but if you combined 4 of those, which was around the max you could combine, you could get into the 200K zone. I miss the old days... like I miss the Spanish Flu.
Pete
Yes, Dim Shared or Common Shared are the alternatives I mentioned. I expect I will end up with 2 INCLUDE statements, a bi and bm if I go that way. Thanks for the links. I'll have a look.
For those who haven't done multi-modular programming in qbasic days, Common Shared used to share variables across all modules where Dim Shared did not cross over into the separate modules. Multi-modular programming was a neat trick, back then, to raise the 64k limit of a program. In reality around 56k or so was the maximum you could squeeze into a single program or "module" but if you combined 4 of those, which was around the max you could combine, you could get into the 200K zone. I miss the old days... like I miss the Spanish Flu.
Pete