Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any better way around Duplicate Definition problems?
#3
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
Reply


Messages In This Thread
RE: Any better way around Duplicate Definition problems? - by Pete - 01-23-2025, 09:43 PM



Users browsing this thread: 1 Guest(s)