Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text Menu Library Project
#4
I love shared variables, especially in the middle of a large project when I know I will be wasting a lot of time passing new variables to various subroutines.

I do have some large programs that have all shared variables, and no variables passed. They all work just fine.

Yes, for the sake of a library, it is a neater job to not used shared variables, but it is only a bulletproof measure if the programs or other libraries you add to it never contain shared variables with the same names.

So it's a matter of choice, and I love BASIC for being a language that offers up so many choices over other languages, even though this is not one of those instances.

Pete
Reply


Messages In This Thread
Text Menu Library Project - by Pete - 01-03-2025, 01:46 AM
RE: Text Menu Library Project - by SierraKen - 01-03-2025, 05:46 AM
RE: Text Menu Library Project - by bplus - 01-03-2025, 05:26 PM
RE: Text Menu Library Project - by Pete - 01-03-2025, 05:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  3D Text SMcNeill 13 698 02-10-2026, 08:17 AM
Last Post: Unseen Machine
  Menu Demo to be Expanded Pete 29 1,607 01-31-2026, 11:08 PM
Last Post: Pete
  Keyhit to Inkey Conversion Project Pete 7 588 01-11-2026, 01:26 AM
Last Post: Pete
  My little menu Mad Axeman 15 883 12-30-2025, 06:50 PM
Last Post: Pete
  QB UI Library aadityap0901 6 1,185 08-02-2025, 05:13 PM
Last Post: aadityap0901

Forum Jump:


Users browsing this thread: 1 Guest(s)