Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Permitted entries for Common Shared
#9
(11-24-2023, 11:02 PM)PhilOfPerth Wrote: OK. got it. Thanks for the clarification.
A problem not shared is a problem solved, to paraphrase an old saying.
 I'll use the Dim Shared, and limit it to subs unless needed everywhere, as Terry suggested.
I think you'll find your code easier to manage if you do this. There's nothing wrong however with making all your variables global with DIM SHARED if that is easier for you.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
RE: Permitted entries for Common Shared - by TerryRitchie - 11-24-2023, 11:07 PM



Users browsing this thread: 2 Guest(s)