swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
declaration/definition  

declare #main-output has referents-displayed

 
 

Syntax

  declare #main-output has referents-displayed


Purpose

The declare #main-output referents declaration can be used to set referents-displayed. This can be useful when referents are erroneously written to the #main-output stream and the programmer needs to be able to examine the output to determine where the error is occurring. It can also be useful when the #main-output stream is being used as a mechanism to log in or out.

referents-displayed specifies that when a referent is written to the stream, it is converted to a text representation that can be immediately evaluated. In other words, instead of writing the actual referent, a string expression describing the referent is written instead.

The string expression written contains the name of the referent, its current value, and the name of the stream to which it is attached (#main-output, in this example).

    Related Syntax
   declare #main-output has referents-not-allowed
   declare #main-output has referents-allowed
 
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:08 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.