FB II Compiler
FB II COMPILER
Create a precompiled file
It is possible to compile a FB source file, then include that compiled file in a project without having the original source code. As long as you don't try to recompile it, everything will be OK.
(You can see an example of this technique in action in my profiling library for FB. To use the profiler, you INCLUDE "FBProfiler" somewhere at the beginning of your application. However, if you open up the FBProfiler file itself, you will see not source code but an explanation of what the module is and how to use it.)
All you really need to do is compile the source, make a copy of it, then open it up in SimpleText and delete everything. Save and quit, and you're done. If you look inside the file with ResEdit or Resorcerer, you'll notice that FB's resources are still there. This is where the compiled code lives, and as long as those resources are intact, you can INCLUDE the module and use it as normal.
Compile the include. (You won't be able to use _any_ globals.)
Open the compiled version in Resourcerer and delete the data fork. Your file will have no source code text, but can be compiled into any project.