# JBCERRFILE
Read Time: 1 minute(s)
Tags: environment variables directories error handling
# Description
Sets the location of the jBASE error message file.
# Values
Valid path to a hashed file.
# Default
$JBCRELEASEDIR/jbcmessages (UNIX)
1
%JBCRELEASEDIR%\jbcmessages (Windows)
1
# Setting
It must be set before jBASE is invoked.
# UNIX
export JBCERRFILE=/usr/globals/jBASEerrors
1
# Windows
set JBCERRFILE=C:\home\globals\jbcmessages
1
# Note
Setting this environment variable allows for more than one version of the messages displayed by jBASE. This could be desirable if it is desired to have different messages or different behavior when a an error is encountered, depending on the user.
For example, to prevent a program entering the debugger when an uninitialized variable is encountered, remove the ^WARNING^ string from the ZERO_USED message.
Back to Error Handling
Go Back to Environment Variables