Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any better way around Duplicate Definition problems?
#2
Simply replace the ReDim a$(0) under the Main label (or whereever the first definition of the array appears, maybe in a .bi file if it's for a library) with a Common Shared a$().

As example take a look into my libraries collection, sub-folder "RS-Includes" in files "memory.bi/.bm", here the used array "gpMemory&&()" is COMMON SHARED in the .bi and the routines in the .bm file use it and REDIM it as required.
Reply


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



Users browsing this thread: 1 Guest(s)