Modifying the BCX Translator

If you wish to modify the BCX Translator, the source code is provided with the full distribution of BCX. The source code is located in the BCX\OpenSrc directory. Also, each beta version update of the translator contains the BCX source code as well as the executable file.

BCX_COLORS system variable

BCX colorizes its screen output. This only affects the BCX translator, not the programs that you develop with it. To disable colorization and use the traditional default system colors, simply change the system variable BCX_COLORS to 0 and recompile BCX. BCX_COLORS is currently defined on line number 9 of BC.bas:

CONST BCX_COLORS = 1    ' Colorize (or not) the BCX Translator

Compiling the BCX Translator

The simplest way to compile the BCX Translator Open Source code is to use the following process which involves three compiles. This three step compile process is necessary to ensure that any changes in the internal runtime code are fully incorporated. If there are errors in that runtime code that affect the translator, they will not show until the third compile.