swirl
Guide to OmniMark 8   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 ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.