ErrorFlagsSet

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber ErrorFlagsSet(SalNumber nFlags, SalBoolean bSet)

The ErrorFlagsSet turns a set of error flags on or off.

Parameters

Name Description
SalNumber nFlags Set of flags to turn on/off. Multiple flags can be specified by combining them with the Or (|) operator.
SalBoolean bSet Indicates if the flags should be turned on or off. Specify TRUE to turn on, FALSE to turn off.

Returns

This method does not return a value.

Example

! Turn on logging to file
Call ErrorFlagsSet( ERROR_LogToFile, TRUE )
C# code
! Turn on logging to file
Int.ErrorFlagsSet(Const.ERROR_LogToFile , true );