$INCLUDE_NOT_FOUND_LEVEL
Set the message severity for the compiler message #Include not found
.
$INCLUDE_NOT_FOUND_LEVEL = 0
| 1
| 2
Arguments
0
—set the message severity toinfo
1
—set the message severity towarning
2
—set the message severity toerror
Description
By default, if Uniface cannot find a specified IncludeScript during compilation, it issues a warning message that it cannot find the specified IncludeScript (1000 - (Preprocessor) #INCLUDE IncludeName Not Found
).
Since missing IncludeScripts can cause unexpected behavior, it can be useful to set the severity to 2
(error), which prevents the component from being compiled.
This setting has the same effect as using the command line subswitch /ilv. If both are specified, the command line switch takes precedence over the assignment setting.