This problem is really easy to understand. It would maybe be related to something like writting partial class in visual basic, but I'm not sure about that.
I want to be able to split any FB file, .bas or .bi, in many parts for clarity purpose, and I'm waiting the fb to be able to join the different parts before compiling.
A real example would be too long, take the following short version :
Code: Select all
''File SomeJobpart1.bas
#include "SomeJobpart2"
#include "SomeJobpart3"
''
Dim inputVariable as object
Declare InputProcedure()
''
Sub InputProcedure()
''Get the inputs
End sub
Code: Select all
''File SomeJobpart2.bas
#include "SomeJobpart1"
#include "SomeJobpart3"
''
Dim displayVariable as object
Declare DisplayProcedure()
''
Sub DisplayProcedure()
''Do the display job
End sub
Code: Select all
''File SomeJobpart3.bas
#include "SomeJobpart1"
#include "SomeJobpart2"
''
''Global variables stand here all gathered together for clarity
Dim Shared GlobalVariable1 as object
Dim Shared GlobalVariable2 as object
''...
Thanks!