|        | |||||
|  | |||||
| built-in variable | #class | ||||
| Related Syntax | Related Concepts | ||||
Purpose
A built-in counter shelf that provides the SGML error class:
This counter shelf can be accessed only from the header and body of sgml-error rules. 
The is specified test is always true for #class because the error class is present in all SGML error messages.
#class also can be used as a pattern variable for compatibility with past releases. However, this use is deprecated. Unlike programmer-defined pattern variables, #class must always be heralded with the pattern keyword, even where heralding is usually optional.
| Related Syntax pattern sgml-error #error-code #file-name #line-number #message #recovery-info #additional-info | Related Concepts XML/SGML error rules: predefined pattern variables | 
| ---- |