First step: Stop Now!
This should have been planned before the first programmer wrote the first line of code.
Here's some more bad news: There are no silver bullets; each project is different.
Here's some GOOD news: the start of a plan.
Start by creating the list of procedures you are going to need, and set those up to use no GLOBAL variables. Now programmers create PROCEDUREs rather than FILEs, and you can always put those together with #INCLUDE.
Code:
'MASTER.BAS FUNCTION WinMAin(... CALL BobsProcedure (params) CALL MarysProcedure (params) END FUNCTION #INCLUDE "BobsProcedure.INC" #INCLUDE "MarysProcedure.INC" #INCLUDE "SharedProcedures.INC" ' <<< someone does this one FIRST. ' *** END OF FILE ***
Leave a comment: