IdeasVacuum wrote:
Hi Guimauve, are you going to tell us what ToolBox Manager is for/does? I'm going to assume it has nothing to do with a bag of spanners........

Ok I will put you into the context.
You currently developing a 3D game consisting of 6 different programs. These program use basically the same custom libraries and also use many custom libraries used in many other program. So in the past few years have take the bad Idea to copy the same file 5,6,7,8,9 and more time to all different project folders. Updating these custom libraries are so painful I have place all of these file in the same folder. Now with my ToolBox Manager tool I can manage these files more easily.
So instead of writing in my code :
Code:
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector2.pb"
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector3.pb"
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector4.pb"
I can simplify the IncludeFile to this :
Code:
ToolBoxFile "vector2.pb", "vector3.pb", "vector4.pb"
As we can see, it's lighter to read !
ToolBox Manager intercept the
PB_EditorOutput.pb to change ToolBoxFile "vector2.pb", "vector3.pb", "vector4.pb" back to
Code:
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector2.pb"
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector3.pb"
IncludeFile "/home/guimauve/codes purebasic/librairies/maths/vector/vector4.pb"
Just before the Compile/Execute so for the compiler it's obsoletely normal source code. Moreover, ToolBox Manager allow the user to select witch source code are need for the current project thought a selecting window and insert a line like this
Code:
ToolBoxFile "matrix22.pb", "matrix33.pb", "matrix44.pb"
The source code after the TooBoxFile keyword can be load in the IDE for review, correction, modification, update an so on.
This what ToolBax Manager do. Managing not compiled libraries written in PureBasic. It's similar to FreeMat or MatLAB ToolBox system. The only differences is in PureBasic we still have to Include the source file.
I hope this can help you to understand.
Best regards.
Guimauve