Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modolarising large programs
#1
Salaam
Back in Feb.2003 I asked how to modolarise large programs to be able to compile them and I received a few replies. My problem was solved (temporarily) some other way and I still have the problem.
I have divided my program into 2 moduls but now the SUBs in the second module do not receive the variables from the first module.

I have read Modorizeit article but I do not know how to CONVERT DIM SHARED statements to COMMON SHARED as the dim part ( say 1 to 8) can no be in a common shared line.
Reply
#2
use COMMON SHARED first, then DIM after that:

Code:
COMMON SHARED array()
DIM SHARED array(100)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)