checkout syntax >>-#--pragma--checkout--(--+-suspend-+--)---------------------->< '-resume--'
Description
Specifies whether the compiler should give compiler information when a CHECKOUT compiler option value other than *NONE is specified.
Parameters
Notes® on Usage
#pragma checkout directives can be nested. This means that a #pragma checkout (suspend) directive will have no effect if a previously specified #pragma checkout (suspend) directive is still in effect. This is also true for the #pragma checkout resume directive.
Example
/* Assume CHECKOUT(*PPTRACE) had been specified */ #pragma checkout(suspend) /* No CHECKOUT diagnostics are performed */ ... #pragma checkout(suspend) /* No effect */ ... #pragma checkout(resume) /* No effect */ ... #pragma checkout(resume) /* CHECKOUT(*PPTRACE) diagnostics continue */