swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  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 ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:08 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.