Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
Read Time: 1 minute(s)
Add the JBC_INCLUDE_PATH and JBC_INCLUDE_FILE environment variables to the compiler.
# Previous Release Behavior
Neither of these environment variables existed. However, the environment JBC_USER_INCLUDE is a similar environment variable but this went "missing" when the new pre-processor was introduced and the new JBC_INCLUDE_FILE is of similar, but enhanced, functionality.
# Current Release Behavior
The JBC_INCLUDE_PATH environment variable allows you to pre-define one or more directories / folders where you can search for an INCLUDE file. The directory/folder names are delimited by : (colon) on Linux/AIX and by ; (semi-colon) on Windows.
Means that the compiler, when a INCLUDE statement is seen, will search $HOME/include and then /usr/include/myincludes to find the INCLUDE'd file.
The JBC_INCLUDE_FILE is one or more source names that will get automatically compiled prior to the usual jBC or jabbascript being compiled. It is a list of files delimited by : (colon) on Linux/AIX and by ; (semi-colon) on Windows.
set JBC_INCLUDE_FILE=%HOME%\COMMON;BP USERCOMMON
is the equivalent of adding these two lines of code to the top of every source that is compiled.
INCLUDE C:\Home\Greg\COMMON INCLUDE BP USERCOMMON
Back to 5.7.6 Release Notes