contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
built-in variable   #error-code    
  Related Syntax    

Purpose

A built-in stream shelf that provides the SGML error code number. This stream shelf can be accessed only from the header and body of sgml-error rules.

Each SGML warning or error is assigned a unique error code number. These numbers are fixed for all future releases of OmniMark, although new ones may be added. These error code numbers provide a reliable way of identifying an error or warning since the message text can change, for example, as a result of user feedback.

#error-code also can be used as a pattern variable for compatibility with past releases. However, this use is deprecated. Unlike programmer-defined pattern variables, #error-code must always be heralded with the pattern keyword, even where heralding is usually optional.

The is specified test is always true for #error-code because the error code is present in all SGML error messages.

  Related Syntax
   pattern
   sgml-error
   #class
   #file-name
   #line-number
   #message
   #recovery-info
   #additional-info
 
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:00:59 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.